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:
a3f4867
)
Preserve line number information.
author
Devang Patel
<dpatel@apple.com>
Tue, 10 May 2011 00:03:11 +0000
(
00:03
+0000)
committer
Devang Patel
<dpatel@apple.com>
Tue, 10 May 2011 00:03:11 +0000
(
00:03
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131112
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/PruneEH.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/PruneEH.cpp
b/lib/Transforms/IPO/PruneEH.cpp
index 9470180c5657df1e8aa66e4bbfdefe36769c5ed8..496b96aceb34245f831b6c6ddd7fa7ea437bf9c6 100644
(file)
--- a/
lib/Transforms/IPO/PruneEH.cpp
+++ b/
lib/Transforms/IPO/PruneEH.cpp
@@
-180,6
+180,7
@@
bool PruneEH::SimplifyFunction(Function *F) {
Call->takeName(II);
Call->setCallingConv(II->getCallingConv());
Call->setAttributes(II->getAttributes());
+ Call->setDebugLoc(II->getDebugLoc());
// Anything that used the value produced by the invoke instruction
// now uses the value produced by the call instruction. Note that we