summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2007-12-19 21:54:36 +0000
committerDale Johannesen <dalej@apple.com>2007-12-19 21:54:36 +0000
commiteadbf4b91c2b12f25e86b0c7b12e06fbbaab5c94 (patch)
tree88ba06c5611e3ee3e2837313374721983440166e /llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
parent5ecac82f712f8bb608a52892c6af635a2396bbaf (diff)
downloadbcm5719-llvm-eadbf4b91c2b12f25e86b0c7b12e06fbbaab5c94.tar.gz
bcm5719-llvm-eadbf4b91c2b12f25e86b0c7b12e06fbbaab5c94.zip
Enable EH on PPC Darwin. This basically works; there
are a couple of issues that show up with the optimizer, but I don't think they're really EH problems. (llvm-gcc testsuite users note: By default the testsuite uses the unwinding code that's built as part of your local llvm-gcc, which does not work. You need to trick it into using the installed system unwinding code to get useful results.) llvm-svn: 45221
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
index ee1d06316ef..4a374133c1a 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
@@ -58,7 +58,7 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const PPCTargetMachine &TM)
WeakDefDirective = "\t.weak_definition\t";
WeakRefDirective = "\t.weak_reference\t";
HiddenDirective = "\t.private_extern\t";
- SupportsExceptionHandling = false;
+ SupportsExceptionHandling = true;
NeedsIndirectEncoding = true;
BSSSection = 0;
OpenPOWER on IntegriCloud