From d796164e89187d59c663e63ba30042a7f139477e Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Wed, 8 Oct 2008 21:50:21 +0000 Subject: Align EH tables before label is emitted, not after, thus aligning the label. llvm-svn: 57310 --- llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp index 168b36c2442..3cfe00e7e07 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp @@ -3430,8 +3430,8 @@ private: // Begin the exception table. Asm->SwitchToDataSection(TAI->getDwarfExceptionSection()); - O << "GCC_except_table" << SubprogramCount << ":\n"; Asm->EmitAlignment(2, 0, 0, false); + O << "GCC_except_table" << SubprogramCount << ":\n"; for (unsigned i = 0; i != SizeAlign; ++i) { Asm->EmitInt8(0); Asm->EOL("Padding"); -- cgit v1.2.3