lldb: Add arm64 FreeBSD ProcessMonitor register context
This is an adaptation of upstream LLDB commit r251088. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
d8c428a7cf
commit
9b481e0851
@ -36,6 +36,7 @@
|
|||||||
#include "RegisterContextPOSIXProcessMonitor_powerpc.h"
|
#include "RegisterContextPOSIXProcessMonitor_powerpc.h"
|
||||||
#include "RegisterContextPOSIXProcessMonitor_x86.h"
|
#include "RegisterContextPOSIXProcessMonitor_x86.h"
|
||||||
#include "Plugins/Process/Utility/RegisterContextFreeBSD_arm.h"
|
#include "Plugins/Process/Utility/RegisterContextFreeBSD_arm.h"
|
||||||
|
#include "Plugins/Process/Utility/RegisterContextFreeBSD_arm64.h"
|
||||||
#include "Plugins/Process/Utility/RegisterContextFreeBSD_i386.h"
|
#include "Plugins/Process/Utility/RegisterContextFreeBSD_i386.h"
|
||||||
#include "Plugins/Process/Utility/RegisterContextFreeBSD_mips64.h"
|
#include "Plugins/Process/Utility/RegisterContextFreeBSD_mips64.h"
|
||||||
#include "Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.h"
|
#include "Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.h"
|
||||||
@ -160,6 +161,9 @@ POSIXThread::GetRegisterContext()
|
|||||||
case llvm::Triple::FreeBSD:
|
case llvm::Triple::FreeBSD:
|
||||||
switch (target_arch.GetMachine())
|
switch (target_arch.GetMachine())
|
||||||
{
|
{
|
||||||
|
case llvm::Triple::aarch64:
|
||||||
|
reg_interface = new RegisterContextFreeBSD_arm64(target_arch);
|
||||||
|
break;
|
||||||
case llvm::Triple::arm:
|
case llvm::Triple::arm:
|
||||||
reg_interface = new RegisterContextFreeBSD_arm(target_arch);
|
reg_interface = new RegisterContextFreeBSD_arm(target_arch);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user