summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-11-05 11:37:59 +0100
committerPavel Labath <pavel@labath.sk>2019-11-05 11:41:20 +0100
commitf71e35dc1f3ea9b368b1d4626ee9bf7993839084 (patch)
treeaf04ef05e73805a75f7cbd5a300efa1e027d2d14
parent9357b5d08497326a1895cab6c1d712bf12a34519 (diff)
downloadbcm5719-llvm-f71e35dc1f3ea9b368b1d4626ee9bf7993839084.tar.gz
bcm5719-llvm-f71e35dc1f3ea9b368b1d4626ee9bf7993839084.zip
lldb/breakpad: add suppport for the "x86_64h" architecture
-rw-r--r--lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp2
-rw-r--r--lldb/test/Shell/SymbolFile/Breakpad/Inputs/line-table-edgecases.syms2
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp b/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
index de17d986a86..b83b2efb492 100644
--- a/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
+++ b/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
@@ -72,7 +72,7 @@ llvm::Triple::ArchType stringTo<llvm::Triple::ArchType>(llvm::StringRef Str) {
.Case("sparc", Triple::sparc)
.Case("sparcv9", Triple::sparcv9)
.Case("x86", Triple::x86)
- .Case("x86_64", Triple::x86_64)
+ .Cases("x86_64", "x86_64h", Triple::x86_64)
.Default(Triple::UnknownArch);
}
diff --git a/lldb/test/Shell/SymbolFile/Breakpad/Inputs/line-table-edgecases.syms b/lldb/test/Shell/SymbolFile/Breakpad/Inputs/line-table-edgecases.syms
index 069b79cc57d..558a69c961d 100644
--- a/lldb/test/Shell/SymbolFile/Breakpad/Inputs/line-table-edgecases.syms
+++ b/lldb/test/Shell/SymbolFile/Breakpad/Inputs/line-table-edgecases.syms
@@ -1,4 +1,4 @@
-MODULE Linux x86_64 761550E08086333960A9074A9CE2895C0 a.out
+MODULE Linux x86_64h 761550E08086333960A9074A9CE2895C0 a.out
INFO CODE_ID E05015768680393360A9074A9CE2895C
FILE 0 /tmp/a.c
a0 1 1 0
OpenPOWER on IntegriCloud