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:
ec37e98
)
Use SDL->getCurDebugLoc() instead of unknown loc for landing pads.
author
Bill Wendling
<isanbard@gmail.com>
Tue, 3 Feb 2009 01:55:42 +0000
(
01:55
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Tue, 3 Feb 2009 01:55:42 +0000
(
01:55
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63594
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index e669a58f61a61964fef28f72c91feb3a32048f72..4b166f862d1fe474c2d07339695d9c5087fea180 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@
-743,7
+743,7
@@
void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn,
unsigned LabelID = MMI->addLandingPad(BB);
const TargetInstrDesc &II = TII.get(TargetInstrInfo::EH_LABEL);
- BuildMI(BB,
DebugLoc::getUnknown
Loc(), II).addImm(LabelID);
+ BuildMI(BB,
SDL->getCurDebug
Loc(), II).addImm(LabelID);
// Mark exception register as live in.
unsigned Reg = TLI.getExceptionAddressRegister();