summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-10-08 21:50:21 +0000
committerDale Johannesen <dalej@apple.com>2008-10-08 21:50:21 +0000
commitd796164e89187d59c663e63ba30042a7f139477e (patch)
treeea38694513aea4f287dd926ebdf8cbae63aaa7df /llvm/lib/CodeGen
parent66e08292aa88db98c46ea0036c946efdc8e22374 (diff)
downloadbcm5719-llvm-d796164e89187d59c663e63ba30042a7f139477e.tar.gz
bcm5719-llvm-d796164e89187d59c663e63ba30042a7f139477e.zip
Align EH tables before label is emitted, not after,
thus aligning the label. llvm-svn: 57310
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp2
1 files changed, 1 insertions, 1 deletions
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");
OpenPOWER on IntegriCloud