[Lldb-commits] [lldb] f71e35d - lldb/breakpad: add suppport for the "x86_64h" architecture

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 5 03:02:58 PST 2019


Author: Pavel Labath
Date: 2019-11-05T11:41:20+01:00
New Revision: f71e35dc1f3ea9b368b1d4626ee9bf7993839084

URL: https://github.com/llvm/llvm-project/commit/f71e35dc1f3ea9b368b1d4626ee9bf7993839084
DIFF: https://github.com/llvm/llvm-project/commit/f71e35dc1f3ea9b368b1d4626ee9bf7993839084.diff

LOG: lldb/breakpad: add suppport for the "x86_64h" architecture

Added: 
    

Modified: 
    lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
    lldb/test/Shell/SymbolFile/Breakpad/Inputs/line-table-edgecases.syms

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp b/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
index de17d986a860..b83b2efb492f 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 069b79cc57d9..558a69c961d1 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


        


More information about the lldb-commits mailing list