diff options
author | Duncan Sands <baldrick@free.fr> | 2007-05-10 18:40:24 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2007-05-10 18:40:24 +0000 |
commit | c1fe16610ade320bade1a970fa2721b0558321b8 (patch) | |
tree | 02da4c1130508b1ff462925a32213bba97e01052 /lib/CodeGen/DwarfWriter.cpp | |
parent | e25514d0a599c4256509b8512da71f5ae6090aa6 (diff) |
Later computations assume we are aligned at this point.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36975 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r-- | lib/CodeGen/DwarfWriter.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index 73ec4efba7..d8f58ba048 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/lib/CodeGen/DwarfWriter.cpp @@ -2979,12 +2979,13 @@ private: 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)"); |