[llvm-commits] CVS: llvm/lib/CodeGen/DwarfWriter.cpp

Jim Laskey jlaskey at apple.com
Mon Nov 6 08:24:15 PST 2006



Changes in directory llvm/lib/CodeGen:

DwarfWriter.cpp updated: 1.96 -> 1.97
---
Log message:

Tab interferes with uniqueness.
NOTE: There doesn't seem to be consistency for whether a leading tab
is present in a section heading.


---
Diffs of the changes:  (+1 -1)

 DwarfWriter.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/DwarfWriter.cpp
diff -u llvm/lib/CodeGen/DwarfWriter.cpp:1.96 llvm/lib/CodeGen/DwarfWriter.cpp:1.97
--- llvm/lib/CodeGen/DwarfWriter.cpp:1.96	Sat Nov  4 04:48:07 2006
+++ llvm/lib/CodeGen/DwarfWriter.cpp	Mon Nov  6 10:23:59 2006
@@ -2678,7 +2678,7 @@
       ConstructSubprogramDIEs();
       
       // Prime section data.
-      SectionMap.insert(std::string("\t") + TAI->getTextSection());
+      SectionMap.insert(TAI->getTextSection());
     }
   }
 






More information about the llvm-commits mailing list