[llvm-commits] CVS: llvm/lib/CodeGen/DwarfWriter.cpp
Duncan Sands
baldrick at free.fr
Thu May 10 11:40:44 PDT 2007
Changes in directory llvm/lib/CodeGen:
DwarfWriter.cpp updated: 1.137 -> 1.138
---
Log message:
Later computations assume we are aligned at this point.
---
Diffs of the changes: (+3 -2)
DwarfWriter.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm/lib/CodeGen/DwarfWriter.cpp
diff -u llvm/lib/CodeGen/DwarfWriter.cpp:1.137 llvm/lib/CodeGen/DwarfWriter.cpp:1.138
--- llvm/lib/CodeGen/DwarfWriter.cpp:1.137 Thu May 10 10:10:34 2007
+++ llvm/lib/CodeGen/DwarfWriter.cpp Thu May 10 13:40:24 2007
@@ -2979,12 +2979,13 @@
sizeof(int8_t) - // LPStart format
sizeof(int8_t) - // TType format
sizeof(int8_t); // TType base offset (NEED ULEB128)
-
+
// Begin the exception table.
Asm->SwitchToDataSection(TAI->getDwarfExceptionSection());
O << "GCC_except_table" << SubprogramCount << ":\n";
+ Asm->EmitAlignment(2);
EmitLabel("exception", SubprogramCount);
-
+
// Emit the header.
Asm->EmitInt8(DW_EH_PE_omit);
Asm->EOL("LPStart format (DW_EH_PE_omit)");
More information about the llvm-commits
mailing list