projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e5215b
)
Verifier: Update assert message to reflect LangRef
author
David Majnemer
<david.majnemer@gmail.com>
Sat, 28 Jun 2014 06:24:49 +0000
(06:24 +0000)
committer
David Majnemer
<david.majnemer@gmail.com>
Sat, 28 Jun 2014 06:24:49 +0000
(06:24 +0000)
No functionality change, just correcting the assertion message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211977
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/IR/Verifier.cpp
patch
|
blob
|
history
diff --git
a/lib/IR/Verifier.cpp
b/lib/IR/Verifier.cpp
index 24f3acb9953aa99d083a7c719230821c9213f84f..314bad36b15524151e44128bec34e624c8def798 100644
(file)
--- a/
lib/IR/Verifier.cpp
+++ b/
lib/IR/Verifier.cpp
@@
-533,7
+533,9
@@
void Verifier::visitGlobalAlias(const GlobalAlias &GA) {
Assert1(!GA.getName().empty(),
"Alias name cannot be empty!", &GA);
Assert1(GlobalAlias::isValidLinkage(GA.getLinkage()),
- "Alias should have external or external weak linkage!", &GA);
+ "Alias should have private, internal, linkonce, weak, linkonce_odr, "
+ "weak_odr, or external linkage!",
+ &GA);
const Constant *Aliasee = GA.getAliasee();
Assert1(Aliasee, "Aliasee cannot be NULL!", &GA);
Assert1(GA.getType() == Aliasee->getType(),