summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86AsmPrinter.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-01-15 23:24:56 +0000
committerDale Johannesen <dalej@apple.com>2008-01-15 23:24:56 +0000
commit59a2250b0d35195dc3d5ad8aba17e003e19a0b16 (patch)
tree0f08866e91b7e5ab215b98dc8704ff6aff4f8abc /llvm/lib/Target/X86/X86AsmPrinter.cpp
parent897aed910977aa6f91d70ba89da24ad486ed42ec (diff)
downloadbcm5719-llvm-59a2250b0d35195dc3d5ad8aba17e003e19a0b16.tar.gz
bcm5719-llvm-59a2250b0d35195dc3d5ad8aba17e003e19a0b16.zip
Fix and enable EH for x86-64 Darwin. Adds
ShortenEHDataFor64Bits as a not-very-accurate abstraction to cover all the changes in DwarfWriter. Some cosmetic changes to Darwin assembly code for gcc testsuite compatibility. llvm-svn: 46029
Diffstat (limited to 'llvm/lib/Target/X86/X86AsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/X86/X86AsmPrinter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86AsmPrinter.cpp b/llvm/lib/Target/X86/X86AsmPrinter.cpp
index 8f481626961..b0e8165ad1c 100644
--- a/llvm/lib/Target/X86/X86AsmPrinter.cpp
+++ b/llvm/lib/Target/X86/X86AsmPrinter.cpp
@@ -358,7 +358,8 @@ bool X86SharedAsmPrinter::doFinalization(Module &M) {
O << "\n";
- if (ExceptionHandling && TAI->doesSupportExceptionHandling() && MMI) {
+ if (ExceptionHandling && TAI->doesSupportExceptionHandling() && MMI &&
+ !Subtarget->is64Bit()) {
// Add the (possibly multiple) personalities to the set of global values.
const std::vector<Function *>& Personalities = MMI->getPersonalities();
OpenPOWER on IntegriCloud