[llvm-commits] [llvm] r82336 - /llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp

Bill Wendling isanbard at gmail.com
Sat Sep 19 15:02:38 PDT 2009


Author: void
Date: Sat Sep 19 17:02:37 2009
New Revision: 82336

URL: http://llvm.org/viewvc/llvm-project?rev=82336&view=rev
Log:
Revert r82274. It's causing failures in the CINT2006 benchmarks.

Modified:
    llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp

Modified: llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp?rev=82336&r1=82335&r2=82336&view=diff

==============================================================================
--- llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp (original)
+++ llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp Sat Sep 19 17:02:37 2009
@@ -782,8 +782,14 @@
   }
 
   // Exception Handling.
+#if 1
+  LSDASection = getMachOSection("__DATA", "__gcc_except_tab", 0,
+                                SectionKind::getDataRel());
+#else
+  // FIXME: This is causing failures in the CINT2006 SPEC benchmarks.
   LSDASection = getMachOSection("__TEXT", "__gcc_except_tab", 0,
                                 SectionKind::getReadOnly());
+#endif
   EHFrameSection =
     getMachOSection("__TEXT", "__eh_frame",
                     MCSectionMachO::S_COALESCED |





More information about the llvm-commits mailing list