[Lldb-commits] [lldb] r347491 - Revert r343342 together with LLVM commit 347490.
Luke Cheeseman via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 23 03:03:00 PST 2018
Author: lukecheeseman
Date: Fri Nov 23 03:03:00 2018
New Revision: 347491
URL: http://llvm.org/viewvc/llvm-project?rev=347491&view=rev
Log:
Revert r343342 together with LLVM commit 347490.
Modified:
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDefines.cpp
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDefines.h
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDefines.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDefines.cpp?rev=347491&r1=347490&r2=347491&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDefines.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDefines.cpp Fri Nov 23 03:03:00 2018
@@ -504,9 +504,9 @@ const char *DW_MACINFO_value_to_name(uin
return llvmstr.data();
}
-const char *DW_CFA_value_to_name(uint32_t val) {
+const char *DW_CFA_value_to_name(uint32_t val, llvm::Triple::ArchType Arch) {
static char invalid[100];
- llvm::StringRef llvmstr = llvm::dwarf::CallFrameString(val);
+ llvm::StringRef llvmstr = llvm::dwarf::CallFrameString(val, Arch);
if (llvmstr.empty()) {
snprintf(invalid, sizeof(invalid), "Unknown DW_CFA constant: 0x%x", val);
return invalid;
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDefines.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDefines.h?rev=347491&r1=347490&r2=347491&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDefines.h (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDefines.h Fri Nov 23 03:03:00 2018
@@ -64,7 +64,7 @@ const char *DW_LNE_value_to_name(uint32_
const char *DW_MACINFO_value_to_name(uint32_t val);
-const char *DW_CFA_value_to_name(uint32_t val);
+const char *DW_CFA_value_to_eame(uint32_t val, llvm::Triple::ArchType Arch);
const char *DW_GNU_EH_PE_value_to_name(uint32_t val);
More information about the lldb-commits
mailing list