diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-07-11 23:48:59 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-07-11 23:48:59 +0000 |
commit | f5c21ecfa6ff0b9bdd818e8b3457b239bfd0c271 (patch) | |
tree | c32b383a04a81b1861a46383d1278767ffb9ac8a /test/CodeGen/X86/rip-rel-address.ll | |
parent | 65a7a6f7a3a9fc5fd2e50200c81a6ec00a78ffd3 (diff) | |
download | external_llvm-f5c21ecfa6ff0b9bdd818e8b3457b239bfd0c271.zip external_llvm-f5c21ecfa6ff0b9bdd818e8b3457b239bfd0c271.tar.gz external_llvm-f5c21ecfa6ff0b9bdd818e8b3457b239bfd0c271.tar.bz2 |
Darwin prepends an _ to internal globals, Linux doesn't.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/rip-rel-address.ll')
-rw-r--r-- | test/CodeGen/X86/rip-rel-address.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/rip-rel-address.ll b/test/CodeGen/X86/rip-rel-address.ll index 576ebe1..863c287 100644 --- a/test/CodeGen/X86/rip-rel-address.ll +++ b/test/CodeGen/X86/rip-rel-address.ll @@ -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 |