summaryrefslogtreecommitdiff
path: root/test/MC/AArch64/elf-globaladdress.ll
diff options
context:
space:
mode:
authorTim Northover <Tim.Northover@arm.com>2013-02-01 11:40:47 +0000
committerTim Northover <Tim.Northover@arm.com>2013-02-01 11:40:47 +0000
commit7bc8414ee99967cb3a89de663c0510563476aa32 (patch)
treeef887d7f432d5c874a1b78e2ffe6b090e510376d /test/MC/AArch64/elf-globaladdress.ll
parent36146afb9676a81866acff882f76661891af3f3b (diff)
downloadllvm-7bc8414ee99967cb3a89de663c0510563476aa32.tar.gz
llvm-7bc8414ee99967cb3a89de663c0510563476aa32.tar.bz2
llvm-7bc8414ee99967cb3a89de663c0510563476aa32.tar.xz
Add explicit triples to AArch64 tests
Only Linux is supported at the moment, and other platforms quickly fault. As a result these tests would fail on non-Linux hosts. It may be worth making the tests more generic again as more platforms are supported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174170 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AArch64/elf-globaladdress.ll')
-rw-r--r--test/MC/AArch64/elf-globaladdress.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/MC/AArch64/elf-globaladdress.ll b/test/MC/AArch64/elf-globaladdress.ll
index 3ca361d9f2..190439d8fe 100644
--- a/test/MC/AArch64/elf-globaladdress.ll
+++ b/test/MC/AArch64/elf-globaladdress.ll
@@ -1,8 +1,8 @@
-;; RUN: llc -march=aarch64 -filetype=obj %s -o - | \
+;; RUN: llc -mtriple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
;; RUN: elf-dump | FileCheck -check-prefix=OBJ %s
; Also take it on a round-trip through llvm-mc to stretch assembly-parsing's legs:
-;; RUN: llc -march=aarch64 %s -o - | \
+;; RUN: llc -mtriple=aarch64-none-linux-gnu %s -o - | \
;; RUN: llvm-mc -arch=aarch64 -filetype=obj -o - | \
;; RUN: elf-dump | FileCheck -check-prefix=OBJ %s