Date: Fri, 23 Oct 2015 17:30:42 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r289840 - head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD Message-ID: <201510231730.t9NHUgee051361@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510231730.t9NHUgee051361>