diff options
| author | Bill Wendling <isanbard@gmail.com> | 2009-02-03 01:55:42 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2009-02-03 01:55:42 +0000 |
| commit | 143a2c3470bcbe33a713a92c41a9e5eeca919831 (patch) | |
| tree | 0ce902fd5a3667a2ba4747d256ceefcd943508d3 /llvm/lib/CodeGen/SelectionDAG | |
| parent | fa50a23f8a9097e373eb355b4bd39940a1eae893 (diff) | |
| download | bcm5719-llvm-143a2c3470bcbe33a713a92c41a9e5eeca919831.tar.gz bcm5719-llvm-143a2c3470bcbe33a713a92c41a9e5eeca919831.zip | |
Use SDL->getCurDebugLoc() instead of unknown loc for landing pads.
llvm-svn: 63594
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index e669a58f61a..4b166f862d1 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/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::getUnknownLoc(), II).addImm(LabelID); + BuildMI(BB, SDL->getCurDebugLoc(), II).addImm(LabelID); // Mark exception register as live in. unsigned Reg = TLI.getExceptionAddressRegister(); |

