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:
69081e9
)
Ignore line number of debug value in undefined register.
author
Devang Patel
<dpatel@apple.com>
Tue, 1 Jun 2010 21:43:09 +0000
(21:43 +0000)
committer
Devang Patel
<dpatel@apple.com>
Tue, 1 Jun 2010 21:43:09 +0000
(21:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105292
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 f75447ec8129a77d3c512189788571058ef395dc..c9207c5a1ef223a7968c41018073370993360c01 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@
-2631,6
+2631,7
@@
void DwarfDebug::beginFunction(const MachineFunction *MF) {
assert (MI->getNumOperands() > 1 && "Invalid machine instruction!");
DIVariable DV(MI->getOperand(MI->getNumOperands() - 1).getMetadata());
if (!DV.Verify()) continue;
+ if (isDbgValueInUndefinedReg(MI)) continue;
// If DBG_VALUE is for a local variable then it needs a label.
if (DV.getTag() != dwarf::DW_TAG_arg_variable)
InsnNeedsLabel.insert(MI);