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:
447c40c
)
Use DBG_VALUE location while inserting DBG_VALUE during alloca promotion.
author
Devang Patel
<dpatel@apple.com>
Thu, 7 Jul 2011 00:05:58 +0000
(
00:05
+0000)
committer
Devang Patel
<dpatel@apple.com>
Thu, 7 Jul 2011 00:05:58 +0000
(
00:05
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134568
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/ScalarReplAggregates.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/ScalarReplAggregates.cpp
b/lib/Transforms/Scalar/ScalarReplAggregates.cpp
index 310cd83c849359134b1846d62923744bf320355a..7d6349cf4e7766c3ff1826cb2474fd13330ab8a9 100644
(file)
--- a/
lib/Transforms/Scalar/ScalarReplAggregates.cpp
+++ b/
lib/Transforms/Scalar/ScalarReplAggregates.cpp
@@
-1164,12
+1164,12
@@
public:
DbgVal = DIB->insertDbgValueIntrinsic(SI->getOperand(0), 0,
DIVariable(DVI->getVariable()),
SI);
- DbgVal->setDebugLoc(
S
I->getDebugLoc());
+ DbgVal->setDebugLoc(
DV
I->getDebugLoc());
} else if (LoadInst *LI = dyn_cast<LoadInst>(Inst)) {
Instruction *DbgVal =
DIB->insertDbgValueIntrinsic(LI->getOperand(0), 0,
DIVariable(DVI->getVariable()), LI);
- DbgVal->setDebugLoc(
L
I->getDebugLoc());
+ DbgVal->setDebugLoc(
DV
I->getDebugLoc());
}
}
}