mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-29 06:53:53 +00:00
More standard way of specifying greater than Leopard.
llvm-svn: 75488
This commit is contained in:
parent
4ef26e9b22
commit
1f26277c9b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user