summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
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/unittests
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/unittests')
-rw-r--r--llvm/unittests/IR/MetadataTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/IR/MetadataTest.cpp b/llvm/unittests/IR/MetadataTest.cpp
index 424aaa7bf0c..927d8069c77 100644
--- a/llvm/unittests/IR/MetadataTest.cpp
+++ b/llvm/unittests/IR/MetadataTest.cpp
@@ -2059,7 +2059,7 @@ TEST_F(DIModuleTest, get) {
EXPECT_EQ(Name, N->getName());
EXPECT_EQ(ConfigMacro, N->getConfigurationMacros());
EXPECT_EQ(Includes, N->getIncludePath());
- EXPECT_EQ(Sysroot, N->getISysRoot());
+ EXPECT_EQ(Sysroot, N->getSysRoot());
EXPECT_EQ(N, DIModule::get(Context, Scope, Name,
ConfigMacro, Includes, Sysroot));
EXPECT_NE(N, DIModule::get(Context, getFile(), Name,
OpenPOWER on IntegriCloud