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

Jim Laskey jlaskey at apple.com
Mon Jun 19 08:48:12 PDT 2006



Changes in directory llvm/lib/CodeGen:

DwarfWriter.cpp updated: 1.63 -> 1.64
---
Log message:

References need to be section relative.


---
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.63 llvm/lib/CodeGen/DwarfWriter.cpp:1.64
--- llvm/lib/CodeGen/DwarfWriter.cpp:1.63	Fri Jun 16 08:14:03 2006
+++ llvm/lib/CodeGen/DwarfWriter.cpp	Mon Jun 19 10:48:00 2006
@@ -2152,7 +2152,7 @@
       
       EmitInt16(DWARF_VERSION); EOL("DWARF Version");
       
-      EmitReference("info_begin", Unit->getID());
+      EmitDifference("info_begin", Unit->getID(), "section_info", 0);
       EOL("Offset of Compilation Unit Info");
 
       EmitDifference("info_end", Unit->getID(), "info_begin", Unit->getID());






More information about the llvm-commits mailing list