aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitd65b26495df824717760099e0294db8f2a4662db (patch)
tree0ae1b8dd02fe6c5af2474e71e6fb790832164873 /lib/CodeGen
parent585457e37effc1f065281d0dad7858305b304fcb (diff)
downloadexternal_llvm-d65b26495df824717760099e0294db8f2a4662db.zip
external_llvm-d65b26495df824717760099e0294db8f2a4662db.tar.gz
external_llvm-d65b26495df824717760099e0294db8f2a4662db.tar.bz2
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index 168b36c..3cfe00e 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");