aboutsummaryrefslogtreecommitdiff
path: root/test/DebugInfo/AArch64
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/DebugInfo/AArch64
parent36146afb9676a81866acff882f76661891af3f3b (diff)
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/DebugInfo/AArch64')
-rw-r--r--test/DebugInfo/AArch64/cfi-frame.ll4
-rw-r--r--test/DebugInfo/AArch64/eh_frame.ll2
-rw-r--r--test/DebugInfo/AArch64/eh_frame_personality.ll2
-rw-r--r--test/DebugInfo/AArch64/variable-loc.ll2
4 files changed, 5 insertions, 5 deletions
diff --git a/test/DebugInfo/AArch64/cfi-frame.ll b/test/DebugInfo/AArch64/cfi-frame.ll
index 4217925b98..7290ddf357 100644
--- a/test/DebugInfo/AArch64/cfi-frame.ll
+++ b/test/DebugInfo/AArch64/cfi-frame.ll
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs -march aarch64 < %s | FileCheck %s
-; RUN: llc -verify-machineinstrs -march aarch64 -disable-fp-elim < %s | FileCheck %s --check-prefix=CHECK-WITH-FP
+; RUN: llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -disable-fp-elim < %s | FileCheck %s --check-prefix=CHECK-WITH-FP
@bigspace = global [8 x i64] zeroinitializer
diff --git a/test/DebugInfo/AArch64/eh_frame.ll b/test/DebugInfo/AArch64/eh_frame.ll
index 13436596a5..2539c56fa1 100644
--- a/test/DebugInfo/AArch64/eh_frame.ll
+++ b/test/DebugInfo/AArch64/eh_frame.ll
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs -march=aarch64 %s -filetype=obj -o %t
+; RUN: llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu %s -filetype=obj -o %t
; RUN: llvm-objdump -s %t | FileCheck %s
@var = global i32 0
diff --git a/test/DebugInfo/AArch64/eh_frame_personality.ll b/test/DebugInfo/AArch64/eh_frame_personality.ll
index ab06d211fd..d35f2a2fca 100644
--- a/test/DebugInfo/AArch64/eh_frame_personality.ll
+++ b/test/DebugInfo/AArch64/eh_frame_personality.ll
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs -march=aarch64 %s -filetype=obj -o %t
+; RUN: llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu %s -filetype=obj -o %t
; RUN: llvm-objdump -s %t | FileCheck %s
declare i32 @__gxx_personality_v0(...)
diff --git a/test/DebugInfo/AArch64/variable-loc.ll b/test/DebugInfo/AArch64/variable-loc.ll
index 32772046ef..194f7445ad 100644
--- a/test/DebugInfo/AArch64/variable-loc.ll
+++ b/test/DebugInfo/AArch64/variable-loc.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=aarch64 -disable-fp-elim < %s | FileCheck %s
+; RUN: llc -mtriple=aarch64-none-linux-gnu -disable-fp-elim < %s | FileCheck %s
; This is a regression test making sure the location of variables is correct in
; debugging information, even if they're addressed via the frame pointer.