diff options
| author | Adrian Prantl <aprantl@apple.com> | 2019-12-19 11:56:56 -0800 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2019-12-20 13:11:17 -0800 |
| commit | 44b4b833ad76fc61e43473c581a557f72a4ed8f4 (patch) | |
| tree | 8dc039ce49bf2bd8955e5dcca3a52bc9f1b182d3 /lldb/source/Plugins/SymbolFile | |
| parent | e73c662b9ea7eeba922eaa9010e221820472e8a9 (diff) | |
| download | bcm5719-llvm-44b4b833ad76fc61e43473c581a557f72a4ed8f4.tar.gz bcm5719-llvm-44b4b833ad76fc61e43473c581a557f72a4ed8f4.zip | |
Rename DW_AT_LLVM_isysroot to DW_AT_LLVM_sysroot
This is a purely cosmetic change that is NFC in terms of the binary
output. I bugs me that I called the attribute DW_AT_LLVM_isysroot
since the "i" is an artifact of GCC command line option syntax
(-isysroot is in the category of -i options) and doesn't carry any
useful information otherwise.
This attribute only appears in Clang module debug info.
Differential Revision: https://reviews.llvm.org/D71722
Diffstat (limited to 'lldb/source/Plugins/SymbolFile')
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp index 502d1af668c..466d5ddd23d 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp @@ -977,7 +977,7 @@ bool SymbolFileDWARF::ParseImportedModules( DW_AT_LLVM_include_path, nullptr)) module.search_path = ConstString(include_path); if (const char *sysroot = module_die.GetAttributeValueAsString( - DW_AT_LLVM_isysroot, nullptr)) + DW_AT_LLVM_sysroot, nullptr)) module.sysroot = ConstString(sysroot); imported_modules.push_back(module); } |

