forked from OSchip/llvm-project
parent
21f2955bb2
commit
c564f5d4db
|
@ -504,9 +504,9 @@ const char *DW_MACINFO_value_to_name(uint32_t val) {
|
|||
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;
|
||||
|
|
|
@ -64,7 +64,7 @@ const char *DW_LNE_value_to_name(uint32_t val);
|
|||
|
||||
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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue