Revert previous; these files aren't ready to go in yet.
authorDale Johannesen <dalej@apple.com>
Tue, 13 Nov 2007 19:16:02 +0000 (19:16 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 13 Nov 2007 19:16:02 +0000 (19:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44057 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCTargetAsmInfo.cpp
lib/Target/X86/X86TargetAsmInfo.cpp

index 6b43ecbba5a116426c3a09e8c3483fced7a5bf43..992b090edd519b61c90bdeedd67373ffa7f349d7 100644 (file)
@@ -58,7 +58,7 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const PPCTargetMachine &TM)
   UsedDirective = "\t.no_dead_strip\t";
   WeakRefDirective = "\t.weak_reference\t";
   HiddenDirective = "\t.private_extern\t";
-  SupportsExceptionHandling = true;
+  SupportsExceptionHandling = false;
   NeedsIndirectEncoding = true;
   BSSSection = 0;
 
index 060e00d804dc87d75df355dcb69b130c13eba7e8..05cf2bfdaba6a612c84ec1e1c0f347bcf36d6110 100644 (file)
@@ -101,7 +101,8 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
     DwarfMacInfoSection = ".section __DWARF,__debug_macinfo,regular,debug";
 
     // Exceptions handling
-    SupportsExceptionHandling = true;
+    if (!Subtarget->is64Bit())
+      SupportsExceptionHandling = true;
     AbsoluteEHSectionOffsets = false;
     DwarfEHFrameSection =
     ".section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support";