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/LLVMContextImpl.h | |
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/LLVMContextImpl.h')
-rw-r--r-- | llvm/lib/IR/LLVMContextImpl.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.h b/llvm/lib/IR/LLVMContextImpl.h index 78cf707e0e7..6f5d5752b38 100644 --- a/llvm/lib/IR/LLVMContextImpl.h +++ b/llvm/lib/IR/LLVMContextImpl.h @@ -819,27 +819,27 @@ template <> struct MDNodeKeyImpl<DIModule> { MDString *Name; MDString *ConfigurationMacros; MDString *IncludePath; - MDString *ISysRoot; + MDString *SysRoot; MDNodeKeyImpl(Metadata *Scope, MDString *Name, MDString *ConfigurationMacros, - MDString *IncludePath, MDString *ISysRoot) + MDString *IncludePath, MDString *SysRoot) : Scope(Scope), Name(Name), ConfigurationMacros(ConfigurationMacros), - IncludePath(IncludePath), ISysRoot(ISysRoot) {} + IncludePath(IncludePath), SysRoot(SysRoot) {} MDNodeKeyImpl(const DIModule *N) : Scope(N->getRawScope()), Name(N->getRawName()), ConfigurationMacros(N->getRawConfigurationMacros()), - IncludePath(N->getRawIncludePath()), ISysRoot(N->getRawISysRoot()) {} + IncludePath(N->getRawIncludePath()), SysRoot(N->getRawSysRoot()) {} bool isKeyOf(const DIModule *RHS) const { return Scope == RHS->getRawScope() && Name == RHS->getRawName() && ConfigurationMacros == RHS->getRawConfigurationMacros() && IncludePath == RHS->getRawIncludePath() && - ISysRoot == RHS->getRawISysRoot(); + SysRoot == RHS->getRawSysRoot(); } unsigned getHashValue() const { return hash_combine(Scope, Name, - ConfigurationMacros, IncludePath, ISysRoot); + ConfigurationMacros, IncludePath, SysRoot); } }; |