mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
fix typo, add 10.6 version of test for my previous patch.
llvm-svn: 78895
This commit is contained in:
parent
fa4858791d
commit
696f1d8318
@ -48,10 +48,10 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const Triple &Triple) {
|
||||
HasDotTypeDotSizeDirective = false;
|
||||
UsedDirective = "\t.no_dead_strip\t";
|
||||
|
||||
// On Leoaprd (10.5 aka darwin9) and earlier, _foo.eh symbols must be exported
|
||||
// On Leopard (10.5 aka darwin9) and earlier, _foo.eh symbols must be exported
|
||||
// so that the linker knows about them. This is not necessary on 10.6 and
|
||||
// later, but it doesn't hurt anything.
|
||||
if (Triple.getDarwinMajorNumber() >= 10)
|
||||
if (Triple.getDarwinMajorNumber() < 10)
|
||||
Is_EHSymbolPrivate = false;
|
||||
|
||||
// Leopard (10.5 aka darwin9) and later support aligned common symbols.
|
||||
|
@ -1,5 +1,6 @@
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | grep ^.L_Z1fv.eh
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin9 | grep ^__Z1fv.eh
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin10 | grep ^L__Z1fv.eh
|
||||
|
||||
define void @_Z1fv() {
|
||||
entry:
|
||||
|
Loading…
Reference in New Issue
Block a user