Author: emaste Date: Fri Oct 23 17:30:41 2015 New Revision: 289840 URL: https://svnweb.freebsd.org/changeset/base/289840
Log: lldb: Add arm64 FreeBSD ProcessMonitor register context This is an adaptation of upstream LLDB commit r251088. Sponsored by: The FreeBSD Foundation Modified: head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/POSIXThread.cpp Modified: head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/POSIXThread.cpp ============================================================================== --- head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/POSIXThread.cpp Fri Oct 23 17:24:34 2015 (r289839) +++ head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/POSIXThread.cpp Fri Oct 23 17:30:41 2015 (r289840) @@ -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; _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"