diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2011-05-27 01:00:36 +0000 | 
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2011-05-27 01:00:36 +0000 | 
| commit | e217f89420856f9292744dceedbf75e9b6990178 (patch) | |
| tree | 79d3b488fbcc07c5997a1ac7ef5d0af237f8092a /llvm/lib/Transforms | |
| parent | e635c529a03bbec7255c4d8964fa06df66718790 (diff) | |
| download | bcm5719-llvm-e217f89420856f9292744dceedbf75e9b6990178.tar.gz bcm5719-llvm-e217f89420856f9292744dceedbf75e9b6990178.zip | |
One more debug line number miss in instcombine (although the code in question isn't actually in instcombine).
llvm-svn: 132170
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Utils/BuildLibCalls.cpp | 6 | 
1 files changed, 1 insertions, 5 deletions
| diff --git a/llvm/lib/Transforms/Utils/BuildLibCalls.cpp b/llvm/lib/Transforms/Utils/BuildLibCalls.cpp index 4a90751936b..14bb17fbda3 100644 --- a/llvm/lib/Transforms/Utils/BuildLibCalls.cpp +++ b/llvm/lib/Transforms/Utils/BuildLibCalls.cpp @@ -362,12 +362,8 @@ bool SimplifyFortifiedLibCalls::fold(CallInst *CI, const TargetData *TD) {    Function *Callee = CI->getCalledFunction();    StringRef Name = Callee->getName();    const FunctionType *FT = Callee->getFunctionType(); -  BasicBlock *BB = CI->getParent();    LLVMContext &Context = CI->getParent()->getContext(); -  IRBuilder<> B(Context); - -  // Set the builder to the instruction after the call. -  B.SetInsertPoint(BB, CI); +  IRBuilder<> B(CI);    if (Name == "__memcpy_chk") {      // Check if this has the right signature. | 

