aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/TargetLoweringObjectFile.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-09-19 22:02:37 +0000
committerBill Wendling <isanbard@gmail.com>2009-09-19 22:02:37 +0000
commit68a77ab5d22ecfa31ca6d7d1b1161c1be261df2a (patch)
tree2651dfd90031ffe35c912abb6a61453f01c14503 /lib/Target/TargetLoweringObjectFile.cpp
parent7dd76a1088f7285f73152732de50c78b64ee5a03 (diff)
downloadexternal_llvm-68a77ab5d22ecfa31ca6d7d1b1161c1be261df2a.zip
external_llvm-68a77ab5d22ecfa31ca6d7d1b1161c1be261df2a.tar.gz
external_llvm-68a77ab5d22ecfa31ca6d7d1b1161c1be261df2a.tar.bz2
Revert r82274. It's causing failures in the CINT2006 benchmarks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82336 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r--lib/Target/TargetLoweringObjectFile.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp
index b49164a..4ee6b92 100644
--- a/lib/Target/TargetLoweringObjectFile.cpp
+++ b/lib/Target/TargetLoweringObjectFile.cpp
@@ -782,8 +782,14 @@ void TargetLoweringObjectFileMachO::Initialize(MCContext &Ctx,
}
// 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 |