projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6be139
)
More standard way of specifying greater than Leopard.
author
Bill Wendling
<isanbard@gmail.com>
Mon, 13 Jul 2009 20:18:43 +0000
(20:18 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Mon, 13 Jul 2009 20:18:43 +0000
(20:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75488
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86TargetAsmInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86TargetAsmInfo.cpp
b/lib/Target/X86/X86TargetAsmInfo.cpp
index 244d2f16a9b73df8a67a9e0967f06867c851f686..70dafae8df54ae50f3de7aa827e1da62320f22b4 100644
(file)
--- a/
lib/Target/X86/X86TargetAsmInfo.cpp
+++ b/
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