llvm.org GIT mirror llvm / bf04f72
fix typo, add 10.6 version of test for my previous patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78895 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 10 years ago
2 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
4747 HasDotTypeDotSizeDirective = false;
4848 UsedDirective = "\t.no_dead_strip\t";
4949
50 // On Leoaprd (10.5 aka darwin9) and earlier, _foo.eh symbols must be exported
50 // On Leopard (10.5 aka darwin9) and earlier, _foo.eh symbols must be exported
5151 // so that the linker knows about them. This is not necessary on 10.6 and
5252 // later, but it doesn't hurt anything.
53 if (Triple.getDarwinMajorNumber() >= 10)
53 if (Triple.getDarwinMajorNumber() < 10)
5454 Is_EHSymbolPrivate = false;
5555
5656 // Leopard (10.5 aka darwin9) and later support aligned common symbols.
0 ; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | grep ^.L_Z1fv.eh
11 ; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin9 | grep ^__Z1fv.eh
2 ; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin10 | grep ^L__Z1fv.eh
23
34 define void @_Z1fv() {
45 entry: