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

Duncan Sands baldrick at free.fr
Tue May 15 06:54:33 PDT 2007



Changes in directory llvm/lib/CodeGen:

DwarfWriter.cpp updated: 1.144 -> 1.145
---
Log message:

The index into the actions table is a ULEB128 not a SLEB128.


---
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.144 llvm/lib/CodeGen/DwarfWriter.cpp:1.145
--- llvm/lib/CodeGen/DwarfWriter.cpp:1.144	Sun May 13 12:30:11 2007
+++ llvm/lib/CodeGen/DwarfWriter.cpp	Tue May 15 08:54:14 2007
@@ -2975,7 +2975,7 @@
       SizeSites += M*(sizeof(int32_t) +               // Site start.
                       sizeof(int32_t) +               // Site length.
                       sizeof(int32_t) +               // Landing pad.
-                      Asm->SizeSLEB128(FirstAction)); // Action.
+                      Asm->SizeULEB128(FirstAction)); // Action.
     }
     
     // Final tallies.






More information about the llvm-commits mailing list