projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cee9255
)
fix typo 'varaible' in assert
author
Nico Weber
<nicolasweber@gmx.de>
Wed, 24 Aug 2016 16:34:54 +0000
(16:34 +0000)
committer
Nico Weber
<nicolasweber@gmx.de>
Wed, 24 Aug 2016 16:34:54 +0000
(16:34 +0000)
llvm-svn: 279636
llvm/lib/IR/Verifier.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/IR/Verifier.cpp
b/llvm/lib/IR/Verifier.cpp
index
6f3a45f
..
189450d
100644
(file)
--- a/
llvm/lib/IR/Verifier.cpp
+++ b/
llvm/lib/IR/Verifier.cpp
@@
-1119,7
+1119,7
@@
void Verifier::visitDIGlobalVariable(const DIGlobalVariable &N) {
if (auto *V = N.getRawVariable()) {
AssertDI(isa<ConstantAsMetadata>(V) &&
!isa<Function>(cast<ConstantAsMetadata>(V)->getValue()),
- "invalid global var
ai
ble ref", &N, V);
+ "invalid global var
ia
ble ref", &N, V);
visitConstantExprsRecursively(cast<ConstantAsMetadata>(V)->getValue());
}
if (auto *Member = N.getRawStaticDataMemberDeclaration()) {