commit | de09e922a6a82ff48d31328606f691591ae8fa19 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Tue Jul 06 22:08:15 2010 +0000 |
committer | Devang Patel <dpatel@apple.com> | Tue Jul 06 22:08:15 2010 +0000 |
tree | 886287ca04ed32ed2a0f1a1e1d28b4064ed749fb | |
parent | 30377a614c8d671f0da10e59416afbe2a282a2ff [diff] [blame] |
Propagate debug loc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107710 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 2213d54..d56a892 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -2414,7 +2414,8 @@ if (ConstraintLetter != 'n') { int64_t Offs = GA->getOffset(); if (C) Offs += C->getZExtValue(); - Ops.push_back(DAG.getTargetGlobalAddress(GA->getGlobal(), + Ops.push_back(DAG.getTargetGlobalAddress(GA->getGlobal(), + C->getDebugLoc(), Op.getValueType(), Offs)); return; }