AArch64: use full triple for ELF tests

These tests rely specifically on the names of ELF relocations, let alone any
other detail. There's no way they'd work if LLVM was emitting something else by
default.

llvm-svn: 179376
This commit is contained in:
Tim Northover 2013-04-12 12:54:58 +00:00
parent c13d2675e0
commit caf3e95e97
11 changed files with 12 additions and 12 deletions

View File

@ -3,7 +3,7 @@
; Also take it on a round-trip through llvm-mc to stretch assembly-parsing's legs:
;; RUN: llc -mtriple=aarch64-none-linux-gnu %s -o - | \
;; RUN: llvm-mc -arch=aarch64 -filetype=obj -o - | \
;; RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj -o - | \
;; RUN: llvm-readobj -h -r | FileCheck -check-prefix=OBJ %s
@var8 = global i8 0

View File

@ -1,5 +1,5 @@
// 64 bit little endian
// RUN: llvm-mc -filetype=obj -arch=aarch64 -triple aarch64-none-linux-gnu %s -o - | llvm-objdump -d
// RUN: llvm-mc -filetype=obj -triple aarch64-none-linux-gnu %s -o - | llvm-objdump -d
// We just want to see if llvm-objdump works at all.
// CHECK: .text

View File

@ -1,4 +1,4 @@
// RUN: llvm-mc -arch=aarch64 -filetype=obj %s -o - | \
// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
// RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ %s
add x2, x3, #:lo12:some_label

View File

@ -1,4 +1,4 @@
// RUN: llvm-mc -arch=aarch64 -filetype=obj %s -o - | \
// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
// RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ %s
b.eq somewhere

View File

@ -1,4 +1,4 @@
// RUN: llvm-mc -arch=aarch64 -filetype=obj %s -o - | \
// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
// RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ %s
ldr x0, some_label

View File

@ -1,4 +1,4 @@
// RUN: llvm-mc -arch=aarch64 -filetype=obj %s -o - | \
// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
// RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ %s
ldrb w0, [sp, #:lo12:some_label]

View File

@ -1,4 +1,4 @@
// RUN: llvm-mc -arch=aarch64 -filetype=obj %s -o - | \
// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
// RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ %s
movz x0, #:abs_g0:some_label

View File

@ -1,4 +1,4 @@
// RUN: llvm-mc -arch=aarch64 -filetype=obj %s -o - | \
// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
// RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ %s
adr x2, some_label

View File

@ -1,4 +1,4 @@
// RUN: llvm-mc -arch=aarch64 -filetype=obj %s -o - | \
// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
// RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ %s
tbz x6, #45, somewhere

View File

@ -1,4 +1,4 @@
// RUN: llvm-mc -arch=aarch64 -filetype=obj %s -o - | \
// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
// RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ %s
b somewhere

View File

@ -1,5 +1,5 @@
// RUN: llvm-mc -arch=aarch64 -show-encoding < %s | FileCheck %s
// RUN: llvm-mc -arch=aarch64 -filetype=obj < %s -o - | \
// RUN: llvm-mc -triple=aarch64-none-linux-gnu -show-encoding < %s | FileCheck %s
// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj < %s -o - | \
// RUN: llvm-readobj -r -t | FileCheck --check-prefix=CHECK-ELF %s
// TLS local-dynamic forms