From d65b26495df824717760099e0294db8f2a4662db Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Wed, 8 Oct 2008 21:50:21 +0000 Subject: [PATCH] Align EH tables before label is emitted, not after, thus aligning the label. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57310 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/AsmPrinter/DwarfWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp index 168b36c2442..3cfe00e7e07 100644 --- a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp +++ b/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");