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:
Ed Maste 2015-10-23 17:30:41 +00:00
parent 58144364e9
commit 1638c73018

View File

@ -36,6 +36,7 @@
#include "RegisterContextPOSIXProcessMonitor_powerpc.h"
#include "RegisterContextPOSIXProcessMonitor_x86.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_mips64.h"
#include "Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.h"
@ -160,6 +161,9 @@ POSIXThread::GetRegisterContext()
case llvm::Triple::FreeBSD:
switch (target_arch.GetMachine())
{
case llvm::Triple::aarch64:
reg_interface = new RegisterContextFreeBSD_arm64(target_arch);
break;
case llvm::Triple::arm:
reg_interface = new RegisterContextFreeBSD_arm(target_arch);
break;