summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Verifier.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-19 18:44:51 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-19 18:44:51 +0000
commit9aadcc4c0ef620a62901153dfcde66ef6e5f4757 (patch)
tree8496c0f229dc35fdb65c0d49c79ae138c0ecb70d /llvm/lib/IR/Verifier.cpp
parentdd44a36a03e0e69070e16f545fa32edecd587479 (diff)
downloadbcm5719-llvm-9aadcc4c0ef620a62901153dfcde66ef6e5f4757.tar.gz
bcm5719-llvm-9aadcc4c0ef620a62901153dfcde66ef6e5f4757.zip
s/compiler_used/compiler.used/.
We were incorrectly using compiler_used instead of compiler.used. Unfortunately the passes using the broken name had tests also using the broken name. llvm-svn: 186705
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
-rw-r--r--llvm/lib/IR/Verifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp
index 6a7f45f6287..1d495b7ed46 100644
--- a/llvm/lib/IR/Verifier.cpp
+++ b/llvm/lib/IR/Verifier.cpp
@@ -460,7 +460,7 @@ void Verifier::visitGlobalVariable(GlobalVariable &GV) {
}
if (GV.hasName() && (GV.getName() == "llvm.used" ||
- GV.getName() == "llvm.compiler_used")) {
+ GV.getName() == "llvm.compiler.used")) {
Assert1(!GV.hasInitializer() || GV.hasAppendingLinkage(),
"invalid linkage for intrinsic global variable", &GV);
Type *GVType = GV.getType()->getElementType();
OpenPOWER on IntegriCloud