summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/AsmWriter.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2019-12-19 11:56:56 -0800
committerAdrian Prantl <aprantl@apple.com>2019-12-20 13:11:17 -0800
commit44b4b833ad76fc61e43473c581a557f72a4ed8f4 (patch)
tree8dc039ce49bf2bd8955e5dcca3a52bc9f1b182d3 /llvm/lib/IR/AsmWriter.cpp
parente73c662b9ea7eeba922eaa9010e221820472e8a9 (diff)
downloadbcm5719-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/AsmWriter.cpp')
-rw-r--r--llvm/lib/IR/AsmWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/AsmWriter.cpp b/llvm/lib/IR/AsmWriter.cpp
index f9d4b181f86..cda5fd0a381 100644
--- a/llvm/lib/IR/AsmWriter.cpp
+++ b/llvm/lib/IR/AsmWriter.cpp
@@ -2057,7 +2057,7 @@ static void writeDIModule(raw_ostream &Out, const DIModule *N,
Printer.printString("name", N->getName());
Printer.printString("configMacros", N->getConfigurationMacros());
Printer.printString("includePath", N->getIncludePath());
- Printer.printString("isysroot", N->getISysRoot());
+ Printer.printString("sysroot", N->getSysRoot());
Out << ")";
}
OpenPOWER on IntegriCloud