From: Bill Wendling Date: Mon, 13 Jul 2009 20:27:41 +0000 (+0000) Subject: Reverted r75484. It was causing a failure with Apple-style builds. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=db425496a6b28eda5584a43e1f02e854d26a2007;p=oota-llvm.git Reverted r75484. It was causing a failure with Apple-style builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75491 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86TargetAsmInfo.cpp b/lib/Target/X86/X86TargetAsmInfo.cpp index 70dafae8df5..5a60bce43dc 100644 --- a/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/lib/Target/X86/X86TargetAsmInfo.cpp @@ -93,13 +93,7 @@ X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const X86TargetMachine &TM): AbsoluteEHSectionOffsets = false; DwarfEHFrameSection = ".section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support"; - - // Leopard and earlier put exception tables in __DATA. Greater than Leopard - // put them in __TEXT. - if (Subtarget->getDarwinVers() > 9) - DwarfExceptionSection = ".section __TEXT,__gcc_except_tab"; - else - DwarfExceptionSection = ".section __DATA,__gcc_except_tab"; + DwarfExceptionSection = ".section __DATA,__gcc_except_tab"; } unsigned