[llvm-commits] [llvm] r78895 - in /llvm/trunk: lib/Target/DarwinTargetAsmInfo.cpp test/CodeGen/PowerPC/2008-12-12-EH.ll
Chris Lattner
sabre at nondot.org
Wed Aug 12 22:43:33 PDT 2009
Author: lattner
Date: Thu Aug 13 00:43:33 2009
New Revision: 78895
URL: http://llvm.org/viewvc/llvm-project?rev=78895&view=rev
Log:
fix typo, add 10.6 version of test for my previous patch.
Modified:
llvm/trunk/lib/Target/DarwinTargetAsmInfo.cpp
llvm/trunk/test/CodeGen/PowerPC/2008-12-12-EH.ll
Modified: llvm/trunk/lib/Target/DarwinTargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/DarwinTargetAsmInfo.cpp?rev=78895&r1=78894&r2=78895&view=diff
==============================================================================
--- llvm/trunk/lib/Target/DarwinTargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/DarwinTargetAsmInfo.cpp Thu Aug 13 00:43:33 2009
@@ -48,10 +48,10 @@
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.
Modified: llvm/trunk/test/CodeGen/PowerPC/2008-12-12-EH.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2008-12-12-EH.ll?rev=78895&r1=78894&r2=78895&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2008-12-12-EH.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2008-12-12-EH.ll Thu Aug 13 00:43:33 2009
@@ -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:
More information about the llvm-commits
mailing list