diff options
author | Dale Johannesen <dalej@apple.com> | 2007-12-19 21:54:36 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2007-12-19 21:54:36 +0000 |
commit | 696f768daf61044abff279b20326cf0138d02e1a (patch) | |
tree | cd6bfd9e98b3c265efdf1d6424fac2d3247f54fd /lib | |
parent | 0e5665bf0314b609bfa08bb64bad834e7678c8a6 (diff) | |
download | external_llvm-696f768daf61044abff279b20326cf0138d02e1a.zip external_llvm-696f768daf61044abff279b20326cf0138d02e1a.tar.gz external_llvm-696f768daf61044abff279b20326cf0138d02e1a.tar.bz2 |
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.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45221 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/PowerPC/PPCTargetAsmInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp index ee1d063..4a37413 100644 --- a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp +++ b/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; |