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:
3f62ac3
)
DwarfDebug: Don't set frame index locations on abstract variables.
author
David Blaikie
<dblaikie@gmail.com>
Wed, 14 May 2014 22:51:59 +0000
(22:51 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Wed, 14 May 2014 22:51:59 +0000
(22:51 +0000)
Abstract variables should never have/use locations. In this case the
data wasn't used, so no functional change intended here, just
simplification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208820
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 2b44597775047ece6d94667ea5d011700e090e91..5585f253918737d5efe3f4a80fc4b8ca8ce63a27 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@
-1142,8
+1142,6
@@
void DwarfDebug::collectVariableInfoFromMMITable(
RegVar->setFrameIndex(VI.Slot);
if (!addCurrentFnArgument(RegVar, Scope))
addScopeVariable(Scope, RegVar);
- if (AbsDbgVariable)
- AbsDbgVariable->setFrameIndex(VI.Slot);
}
}