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:
49f38cb
)
Code did not follow associated comment. not a good idea.
author
Devang Patel
<dpatel@apple.com>
Fri, 23 Jan 2009 01:25:58 +0000
(
01:25
+0000)
committer
Devang Patel
<dpatel@apple.com>
Fri, 23 Jan 2009 01:25:58 +0000
(
01:25
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62828
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index 3057797e7f21435a1ecdc3bad2a00ecd4d4dec5a..fd59533eeff769a14e79833f5d317b7958b7913b 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
@@
-1578,7
+1578,7
@@
private:
void AddSourceLine(DIE *Die, const DIGlobal *G) {
unsigned FileID = 0;
unsigned Line = G->getLineNumber();
- if (G->getVersion() < LLVMDebugVersion6) {
+ if (G->getVersion() <
=
LLVMDebugVersion6) {
// Version6 or earlier. Use compile unit info to get file id.
CompileUnit *Unit = FindCompileUnit(G->getCompileUnit());
FileID = Unit->getID();