Revert part of r241149, "Fix PR23872: Integrated assembler error message when using...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 1 Jul 2015 10:28:09 +0000 (10:28 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 1 Jul 2015 10:28:09 +0000 (10:28 +0000)
The test should be split among targets. llvm/test/MC/ELF/ is assumed as X86.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241151 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/ELF/gnu-type-diagnostics.s

index 11dac3594f51b09f69914539902c8dfe1c2f6e6e..df87d6df082e61fbb25746b3d9d5b9bbe27e5389 100644 (file)
@@ -1,29 +1,4 @@
 // RUN: not llvm-mc -triple i686-elf -filetype asm -o /dev/null %s 2>&1 | FileCheck %s
-// RUN: not llvm-mc -triple aarch64-elf -filetype asm -o /dev/null %s 2>&1 | FileCheck %s
-// RUN: not llvm-mc -triple arm-elf -filetype asm -o /dev/null %s 2>&1 \
-// RUN:     | FileCheck -check-prefix=CHECK-INVALID-AT-IN-TYPE-DIRECTIVE %s
-// RUN: not llvm-mc -triple armeb-elf -filetype asm -o /dev/null %s 2>&1 \
-// RUN:     | FileCheck -check-prefix=CHECK-INVALID-AT-IN-TYPE-DIRECTIVE %s
-// RUN: not llvm-mc -triple thumb-elf -filetype asm -o /dev/null %s 2>&1 \
-// RUN:     | FileCheck -check-prefix=CHECK-INVALID-AT-IN-TYPE-DIRECTIVE %s
-// RUN: not llvm-mc -triple thumbeb-elf -filetype asm -o /dev/null %s 2>&1 \
-// RUN:     | FileCheck -check-prefix=CHECK-INVALID-AT-IN-TYPE-DIRECTIVE %s
-// RUN: not llvm-mc -triple arm-coff -filetype asm -o /dev/null %s 2>&1 \
-// RUN:     | FileCheck -check-prefix=CHECK-INVALID-AT-IN-TYPE-DIRECTIVE %s
-// RUN: not llvm-mc -triple armeb-coff -filetype asm -o /dev/null %s 2>&1 \
-// RUN:     | FileCheck -check-prefix=CHECK-INVALID-AT-IN-TYPE-DIRECTIVE %s
-// RUN: not llvm-mc -triple thumb-coff -filetype asm -o /dev/null %s 2>&1 \
-// RUN:     | FileCheck -check-prefix=CHECK-INVALID-AT-IN-TYPE-DIRECTIVE %s
-// RUN: not llvm-mc -triple thumbeb-coff -filetype asm -o /dev/null %s 2>&1 \
-// RUN:     | FileCheck -check-prefix=CHECK-INVALID-AT-IN-TYPE-DIRECTIVE %s
-// RUN: not llvm-mc -triple arm-apple -filetype asm -o /dev/null %s 2>&1 \
-// RUN:     | FileCheck -check-prefix=CHECK-INVALID-AT-IN-TYPE-DIRECTIVE %s
-// RUN: not llvm-mc -triple armeb-apple -filetype asm -o /dev/null %s 2>&1 \
-// RUN:     | FileCheck -check-prefix=CHECK-INVALID-AT-IN-TYPE-DIRECTIVE %s
-// RUN: not llvm-mc -triple thumb-apple -filetype asm -o /dev/null %s 2>&1 \
-// RUN:     | FileCheck -check-prefix=CHECK-INVALID-AT-IN-TYPE-DIRECTIVE %s
-// RUN: not llvm-mc -triple thumbeb-apple -filetype asm -o /dev/null %s 2>&1 \
-// RUN:     | FileCheck -check-prefix=CHECK-INVALID-AT-IN-TYPE-DIRECTIVE %s
 
        .type TYPE FUNC
 // CHECK: error: unsupported attribute in '.type' directive
@@ -40,7 +15,4 @@
 // CHECK: .type symbol 32
 // CHECK:              ^
 
-// CHECK-INVALID-AT-IN-TYPE-DIRECTIVE: error: expected STT_<TYPE_IN_UPPER_CASE>, '#<type>', '%<type>' or "<type>"
-// CHECK-INVALID-AT-IN-TYPE-DIRECTIVE: .type symbol 32
-// CHECK-INVALID-AT-IN-TYPE-DIRECTIVE:              ^