projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
83ed768
)
Add PR to this FIXME, looks like I didn't commit this change after all.
author
Torok Edwin
<edwintorok@gmail.com>
Wed, 7 Oct 2009 09:22:55 +0000
(09:22 +0000)
committer
Torok Edwin
<edwintorok@gmail.com>
Wed, 7 Oct 2009 09:22:55 +0000
(09:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83457
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/MallocHelper.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/MallocHelper.cpp
b/lib/Analysis/MallocHelper.cpp
index 1a8665b6f6ff03b58cb4058ee505d5c6bbd284e7..89051d17883873af14423956db4bc000cd43d802 100644
(file)
--- a/
lib/Analysis/MallocHelper.cpp
+++ b/
lib/Analysis/MallocHelper.cpp
@@
-40,7
+40,8
@@
static bool isMallocCall(const CallInst *CI) {
return false;
// Check malloc prototype.
- // FIXME: this will be obsolete when nobuiltin attribute will exist.
+ // FIXME: workaround for PR5130, this will be obsolete when a nobuiltin
+ // attribute will exist.
const FunctionType *FTy = MallocFunc->getFunctionType();
if (FTy->getNumParams() != 1)
return false;