From ec0445855179d2c9fb98a2c8a42e03525762f45f Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 18 Nov 2009 23:18:46 +0000 Subject: Attempt #2: Place the EH table in the __TEXT section on MachO. It saves space. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89270 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/TargetLoweringObjectFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Target/TargetLoweringObjectFile.cpp') diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp index f887523c5b..e36e453a83 100644 --- a/lib/Target/TargetLoweringObjectFile.cpp +++ b/lib/Target/TargetLoweringObjectFile.cpp @@ -783,7 +783,7 @@ void TargetLoweringObjectFileMachO::Initialize(MCContext &Ctx, } // Exception Handling. - LSDASection = getMachOSection("__DATA", "__gcc_except_tab", 0, + LSDASection = getMachOSection("__TEXT", "__gcc_except_tab", 0, SectionKind::getDataRel()); EHFrameSection = getMachOSection("__TEXT", "__eh_frame", -- cgit v1.2.3