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:
8cf79f8
)
Document a known limitation of the status quo.
author
Adrian Prantl
<aprantl@apple.com>
Wed, 10 Jul 2013 01:53:30 +0000
(
01:53
+0000)
committer
Adrian Prantl
<aprantl@apple.com>
Wed, 10 Jul 2013 01:53:30 +0000
(
01:53
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185992
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index e9bafc9242e680bf851d2df2cb9880a574d4bcd8..7d87ea16f13b9d057b8ac71e408ad1ccf46a3f0e 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@
-4421,10
+4421,12
@@
SelectionDAGBuilder::EmitFuncArgumentDbgValue(const Value *V, MDNode *Variable,
if (!Op)
return false;
+ // FIXME: This does not handle register-indirect values at offset 0.
+ bool IsIndirect = Offset != 0;
if (Op->isReg())
FuncInfo.ArgDbgValues.push_back(BuildMI(MF, getCurDebugLoc(),
TII->get(TargetOpcode::DBG_VALUE),
-
/* IsIndirect */ Offset != 0
,
+
IsIndirect
,
Op->getReg(), Offset, Variable));
else
FuncInfo.ArgDbgValues.push_back(