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 | b43fe521361d06bae63f4d9d0ac9906f65a5d221 (patch) | |
tree | c04411e01fd55160a51c4a3e18ef85600122d856 | |
parent | ed5dad43066a075298393af4a2a51f0ba445c01b (diff) | |
download | bcm5719-llvm-b43fe521361d06bae63f4d9d0ac9906f65a5d221.tar.gz bcm5719-llvm-b43fe521361d06bae63f4d9d0ac9906f65a5d221.zip |
Later computations assume we are aligned at this point.
llvm-svn: 36975
-rw-r--r-- | llvm/lib/CodeGen/DwarfWriter.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp index 73ec4efba78..d8f58ba0485 100644 --- a/llvm/lib/CodeGen/DwarfWriter.cpp +++ b/llvm/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)"); |