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 /llvm/lib/IR/DebugInfo.cpp | |
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 'llvm/lib/IR/DebugInfo.cpp')
-rw-r--r-- | llvm/lib/IR/DebugInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp index 47075359b51..fe831192310 100644 --- a/llvm/lib/IR/DebugInfo.cpp +++ b/llvm/lib/IR/DebugInfo.cpp @@ -782,12 +782,12 @@ LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, const char *Name, size_t NameLen, const char *ConfigMacros, size_t ConfigMacrosLen, const char *IncludePath, size_t IncludePathLen, - const char *ISysRoot, size_t ISysRootLen) { + const char *SysRoot, size_t SysRootLen) { return wrap(unwrap(Builder)->createModule( unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), StringRef(ConfigMacros, ConfigMacrosLen), StringRef(IncludePath, IncludePathLen), - StringRef(ISysRoot, ISysRootLen))); + StringRef(SysRoot, SysRootLen))); } LLVMMetadataRef LLVMDIBuilderCreateNameSpace(LLVMDIBuilderRef Builder, |