1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Move REQUIRES: line to the top

llvm-svn: 335635
This commit is contained in:
Fangrui Song 2018-06-26 17:44:23 +00:00
parent 48cffb1157
commit 067aab1d40
11 changed files with 12 additions and 14 deletions

View File

@ -1,6 +1,6 @@
// REQUIRES: x86-registered-target
// RUN: llvm-mc -triple i686-unknown-linux-gnu -filetype asm -o - %s | FileCheck %s -check-prefix CHECK-ASM-ROUNDTRIP
// RUN: llvm-mc -triple i686-unknown-linux-gnu -filetype obj -o - %s | llvm-objdump -dwarf=frames - | FileCheck %s -check-prefix CHECK-EH_FRAME
// REQUIRES: x86-registered-target
.text

View File

@ -1,5 +1,5 @@
// RUN: llvm-mc %s -o -| FileCheck %s
// REQUIRES: default_triple
// RUN: llvm-mc %s -o -| FileCheck %s
.file 1 "dir1" "foo" source ""

View File

@ -1,5 +1,5 @@
// RUN: llvm-mc %s | FileCheck %s
// REQUIRES: default_triple
// RUN: llvm-mc %s | FileCheck %s
.file 1 "dir1/foo"

View File

@ -1,6 +1,6 @@
// REQUIRES: default_triple
// RUN: not llvm-mc %s 2> %t
// RUN: FileCheck < %t %s
// REQUIRES: default_triple
.macro M a a
.endm

View File

@ -1,10 +1,10 @@
// REQUIRES: powerpc-registered-target
// REQUIRES: x86-registered-target
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -large-code-model %s \
// RUN: -o - | llvm-readobj -s -sd | FileCheck --check-prefix=CHECK-X86 %s
// RUN: llvm-mc -filetype=obj -triple powerpc64le-linux-gnu -large-code-model %s \
// RUN: -o - | llvm-readobj -s -sd | FileCheck --check-prefix=CHECK-PPC %s
// REQUIRES: x86-registered-target
// REQUIRES: powerpc-registered-target
// CHECK-X86: Section {
// CHECK-X86: Index:

View File

@ -1,3 +1,4 @@
// REQUIRES: zlib
// Check zlib-gnu style
// RUN: llvm-mc -filetype=obj -compress-debug-sections=zlib-gnu -triple x86_64-pc-linux-gnu < %s -o %t
// RUN: llvm-objdump -s %t | FileCheck --check-prefix=CHECK-GNU-STYLE %s
@ -13,8 +14,6 @@
// RUN: | llvm-readobj -symbols - | FileCheck --check-prefix=386-SYMBOLS-ZLIB %s
// RUN: llvm-readobj -sections %t | FileCheck --check-prefix=ZLIB-STYLE-FLAGS %s
// REQUIRES: zlib
// Don't compress small sections, such as this simple debug_abbrev example
// CHECK-GNU-STYLE: Contents of section .debug_abbrev:
// CHECK-GNU-STYLE-NOT: ZLIB

View File

@ -1,9 +1,9 @@
# REQUIRES: default_triple
# RUN: llvm-mc -dwarf-version 4 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s --check-prefixes=CHECK,CHECK-4
# RUN: llvm-mc -dwarf-version 4 %s -filetype=asm -o - | FileCheck %s --check-prefixes=ASM,ASM-4
# RUN: llvm-mc -dwarf-version 4 %s -filetype=asm -o - 2>&1 | FileCheck %s --check-prefix=WARN
# RUN: llvm-mc -dwarf-version 5 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s --check-prefixes=CHECK,CHECK-5
# RUN: llvm-mc -dwarf-version 5 %s -filetype=asm -o - | FileCheck %s --check-prefixes=ASM,ASM-5
# REQUIRES: default_triple
# Darwin is stuck on DWARF v2.
# XFAIL: darwin
.file 0 "/test" "root.cpp"

View File

@ -1,6 +1,6 @@
# REQUIRES: default_triple
# RUN: llvm-mc -dwarf-version 5 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s
# RUN: not llvm-mc -dwarf-version 4 %s -filetype=asm -o - 2>&1 | FileCheck %s -check-prefix=ERR
# REQUIRES: default_triple
# Darwin line table is stuck on DWARF v2.
# XFAIL: darwin
# Show that ".loc 0" works in DWARF v5, gets an error for earlier versions.

View File

@ -1,6 +1,5 @@
// REQUIRES: nozlib
// RUN: not llvm-mc -filetype=obj -compress-debug-sections=zlib -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
// RUN: not llvm-mc -filetype=obj -compress-debug-sections=zlib-gnu -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
// REQUIRES: nozlib
// CHECK: llvm-mc{{[^:]*}}: error: build tools with zlib to enable -compress-debug-sections

View File

@ -1,5 +1,5 @@
// RUN: llvm-mc -triple x86_64-unknown-unknown -debug-only=asm-matcher %s 2>&1 | FileCheck %s
// REQUIRES: asserts
// RUN: llvm-mc -triple x86_64-unknown-unknown -debug-only=asm-matcher %s 2>&1 | FileCheck %s
// CHECK: AsmMatcher: found 4 encodings with mnemonic 'pshufb'
// CHECK: Trying to match opcode MMX_PSHUFBrr

View File

@ -1,5 +1,5 @@
; libLTO.dylib shouldn't assert on invalid inputs.
; REQUIRES: arm-registered-target
; libLTO.dylib shouldn't assert on invalid inputs.
; RUN: llvm-mc -triple=arm64-apple-ios7.0.0 -filetype=obj -o %t.o
; RUN: llvm-ar r %t.a %t.o
; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -arch x86_64 -dylib -mllvm -O0 -o %t.dylib %t.a