diff options
author | Torok Edwin <edwintorok@gmail.com> | 2009-10-07 09:22:55 +0000 |
---|---|---|
committer | Torok Edwin <edwintorok@gmail.com> | 2009-10-07 09:22:55 +0000 |
commit | 4de86fe0d7e19f1156d37292211536258044fe5a (patch) | |
tree | 74f5e1b7b649e04a11e995837fb0f5979aa8b8d4 /lib | |
parent | 83ed76869e678848a8139631f00dcc4ff2bf095c (diff) | |
download | external_llvm-4de86fe0d7e19f1156d37292211536258044fe5a.zip external_llvm-4de86fe0d7e19f1156d37292211536258044fe5a.tar.gz external_llvm-4de86fe0d7e19f1156d37292211536258044fe5a.tar.bz2 |
Add PR to this FIXME, looks like I didn't commit this change after all.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83457 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Analysis/MallocHelper.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/MallocHelper.cpp b/lib/Analysis/MallocHelper.cpp index 1a8665b..89051d1 100644 --- 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; |