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:
e73d4f8
)
Ignore empty blocks.
author
Devang Patel
<dpatel@apple.com>
Thu, 28 Oct 2010 22:11:59 +0000
(22:11 +0000)
committer
Devang Patel
<dpatel@apple.com>
Thu, 28 Oct 2010 22:11:59 +0000
(22:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117615
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 55c2e24eb929611ac2f2f13179bd090dd1c1ba95..6ed70e6a3a1ecf77955996599e021d1bc6e1b117 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@
-2790,7
+2790,7
@@
static void CheckLineNumbers(const MachineFunction *MF) {
break;
}
}
- if (!FoundLineNo)
+ if (!FoundLineNo
&& I->size()
)
++BlocksWithoutLineNo;
}
}