diff options
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/X86/X86TargetAsmInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp index 244d2f16a9b..70dafae8df5 100644 --- a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp @@ -96,10 +96,10 @@ X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const X86TargetMachine &TM): // Leopard and earlier put exception tables in __DATA. Greater than Leopard // put them in __TEXT. - if (Subtarget->getDarwinVers() < 10) - DwarfExceptionSection = ".section __DATA,__gcc_except_tab"; - else + if (Subtarget->getDarwinVers() > 9) DwarfExceptionSection = ".section __TEXT,__gcc_except_tab"; + else + DwarfExceptionSection = ".section __DATA,__gcc_except_tab"; } unsigned |