[llvm-commits] [llvm] r75488 - /llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp
Bill Wendling
isanbard at gmail.com
Mon Jul 13 13:18:44 PDT 2009
Author: void
Date: Mon Jul 13 15:18:43 2009
New Revision: 75488
URL: http://llvm.org/viewvc/llvm-project?rev=75488&view=rev
Log:
More standard way of specifying greater than Leopard.
Modified:
llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp?rev=75488&r1=75487&r2=75488&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp Mon Jul 13 15:18:43 2009
@@ -96,10 +96,10 @@
// 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
More information about the llvm-commits
mailing list