[llvm-commits] [llvm] r75405 - /llvm/trunk/test/CodeGen/X86/rip-rel-address.ll

Nick Lewycky nicholas at mxc.ca
Sat Jul 11 16:48:59 PDT 2009


Author: nicholas
Date: Sat Jul 11 18:48:59 2009
New Revision: 75405

URL: http://llvm.org/viewvc/llvm-project?rev=75405&view=rev
Log:
Darwin prepends an _ to internal globals, Linux doesn't.

Modified:
    llvm/trunk/test/CodeGen/X86/rip-rel-address.ll

Modified: llvm/trunk/test/CodeGen/X86/rip-rel-address.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/rip-rel-address.ll?rev=75405&r1=75404&r2=75405&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/rip-rel-address.ll (original)
+++ llvm/trunk/test/CodeGen/X86/rip-rel-address.ll Sat Jul 11 18:48:59 2009
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=pic | FileCheck %s -check-prefix=PIC64
+; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=pic -mtriple=x86_64-apple-darwin10 | FileCheck %s -check-prefix=PIC64
 ; RUN: llvm-as < %s | llc -mtriple=x86_64-unknown-linux-gnu -relocation-model=static | FileCheck %s -check-prefix=STATIC64
 
 @a = internal global double 3.4





More information about the llvm-commits mailing list