[Lldb-commits] [lldb] r364503 - [lldb] [Plugins/SysV-x86_64] NetBSD is also using SysV ABI
Michal Gorny via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 27 00:09:52 PDT 2019
Author: mgorny
Date: Thu Jun 27 00:09:51 2019
New Revision: 364503
URL: http://llvm.org/viewvc/llvm-project?rev=364503&view=rev
Log:
[lldb] [Plugins/SysV-x86_64] NetBSD is also using SysV ABI
Reenable SysV x86_64 ABI usage on NetBSD that was accidentally removed
in r364216. This fixes numerous test failures with messages similar
to the following:
error: Can't run the expression locally: Interpreter doesn't handle
one of the expression's opcodes
Modified:
lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp
Modified: lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp?rev=364503&r1=364502&r2=364503&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp (original)
+++ lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp Thu Jun 27 00:09:51 2019
@@ -227,6 +227,7 @@ ABISysV_x86_64::CreateInstance(lldb::Pro
case llvm::Triple::OSType::MacOSX:
case llvm::Triple::OSType::Linux:
case llvm::Triple::OSType::FreeBSD:
+ case llvm::Triple::OSType::NetBSD:
case llvm::Triple::OSType::Solaris:
case llvm::Triple::OSType::UnknownOS:
return ABISP(new ABISysV_x86_64(process_sp));
More information about the lldb-commits
mailing list