summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2019-06-27 07:09:51 +0000
committerMichal Gorny <mgorny@gentoo.org>2019-06-27 07:09:51 +0000
commite62456b35370a1196c53d42c02449cddd2106668 (patch)
treedcc7da1c9ff570469fe6b5bd5efeff42a732b7d3
parent0f6516856670a435461f56a9faeb4aa8a35a6679 (diff)
downloadbcm5719-llvm-e62456b35370a1196c53d42c02449cddd2106668.tar.gz
bcm5719-llvm-e62456b35370a1196c53d42c02449cddd2106668.zip
[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 llvm-svn: 364503
-rw-r--r--lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp b/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp
index 27be5d901a7..6c7b45f6339 100644
--- a/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp
+++ b/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp
@@ -227,6 +227,7 @@ ABISysV_x86_64::CreateInstance(lldb::ProcessSP process_sp, const ArchSpec &arch)
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));
OpenPOWER on IntegriCloud