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:
021f3f2
)
Use stripPointerCasts when checking for AllocaInsts for the stackprotector intrinsic.
author
Bill Wendling
<isanbard@gmail.com>
Wed, 19 Nov 2008 09:17:16 +0000
(09:17 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 19 Nov 2008 09:17:16 +0000
(09:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59614
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Verifier.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Verifier.cpp
b/lib/VMCore/Verifier.cpp
index 21646840e4c18d6e22566867a192a7b47d2eef36..ffafc77c828129088e8b445b7fd92d1aa516ee0a 100644
(file)
--- a/
lib/VMCore/Verifier.cpp
+++ b/
lib/VMCore/Verifier.cpp
@@
-1375,7
+1375,7
@@
void Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) {
&CI);
break;
case Intrinsic::stackprotector:
- Assert1(isa<AllocaInst>(CI.getOperand(2)),
+ Assert1(isa<AllocaInst>(CI.getOperand(2)
->stripPointerCasts()
),
"llvm.stackprotector parameter #2 must resolve to an alloca.",
&CI);
break;