summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetLoweringObjectFile.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-09-20 02:19:49 +0000
committerBill Wendling <isanbard@gmail.com>2009-09-20 02:19:49 +0000
commit0f899601f3aebd7738258048d4243fd84214ed4f (patch)
treeb8d484403b8ad4150bcb8206723b2807a34939d3 /llvm/lib/Target/TargetLoweringObjectFile.cpp
parent595b3dfcbe0c3f6d8aab594a9c1997c3f38af381 (diff)
downloadbcm5719-llvm-0f899601f3aebd7738258048d4243fd84214ed4f.tar.gz
bcm5719-llvm-0f899601f3aebd7738258048d4243fd84214ed4f.zip
Here's fun! It turns out that these filter functions can be internal. If they're
internal, they shouldn't use the indirect pointer stuff. In the case of throw_rethrow_test, it was marked as 'internal' and calculated its own offset to its contents. llvm-svn: 82354
Diffstat (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r--llvm/lib/Target/TargetLoweringObjectFile.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/TargetLoweringObjectFile.cpp b/llvm/lib/Target/TargetLoweringObjectFile.cpp
index 4ee6b92b91f..b49164aa177 100644
--- a/llvm/lib/Target/TargetLoweringObjectFile.cpp
+++ b/llvm/lib/Target/TargetLoweringObjectFile.cpp
@@ -782,14 +782,8 @@ 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 |
OpenPOWER on IntegriCloud