From 34f9e98aaecd1dbe58c255119d69b83e1019d7c1 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Mon, 30 Sep 2019 04:45:14 +0000 Subject: [PATCH] [test] Change llvm-readobj --arm-attributes to --arch-specific after r373125 llvm-svn: 373179 --- .../CodeGen/ARM/build-attributes-optimization-minsize.ll | 6 +++--- .../test/CodeGen/ARM/build-attributes-optimization-mixed.ll | 6 +++--- .../CodeGen/ARM/build-attributes-optimization-optnone.ll | 6 +++--- .../CodeGen/ARM/build-attributes-optimization-optsize.ll | 6 +++--- llvm/test/CodeGen/ARM/build-attributes-optimization.ll | 6 +++--- llvm/test/MC/ARM/directive-arch-armv2.s | 2 +- llvm/test/MC/ARM/directive-arch-armv2a.s | 2 +- llvm/test/MC/ARM/directive-arch-armv3.s | 2 +- llvm/test/MC/ARM/directive-arch-armv3m.s | 2 +- llvm/test/MC/ARM/directive-arch-armv4.s | 2 +- llvm/test/MC/ARM/directive-arch-armv4t.s | 2 +- llvm/test/MC/ARM/directive-arch-armv5.s | 2 +- llvm/test/MC/ARM/directive-arch-armv5t.s | 2 +- llvm/test/MC/ARM/directive-arch-armv5te.s | 2 +- llvm/test/MC/ARM/directive-arch-armv6-m.s | 2 +- llvm/test/MC/ARM/directive-arch-armv6.s | 2 +- llvm/test/MC/ARM/directive-arch-armv6k.s | 2 +- llvm/test/MC/ARM/directive-arch-armv6t2.s | 2 +- llvm/test/MC/ARM/directive-arch-armv6z.s | 2 +- llvm/test/MC/ARM/directive-arch-armv7-a.s | 2 +- llvm/test/MC/ARM/directive-arch-armv7-m.s | 2 +- llvm/test/MC/ARM/directive-arch-armv7-r.s | 2 +- llvm/test/MC/ARM/directive-arch-armv7.s | 2 +- llvm/test/MC/ARM/directive-arch-armv7a.s | 2 +- llvm/test/MC/ARM/directive-arch-armv7e-m.s | 2 +- llvm/test/MC/ARM/directive-arch-armv7em.s | 2 +- llvm/test/MC/ARM/directive-arch-armv7m.s | 2 +- llvm/test/MC/ARM/directive-arch-armv7r.s | 2 +- llvm/test/MC/ARM/directive-arch-armv8-a.s | 2 +- llvm/test/MC/ARM/directive-arch-armv8.2-a.s | 2 +- llvm/test/MC/ARM/directive-arch-armv8a.s | 2 +- llvm/test/MC/ARM/directive-arch-iwmmxt.s | 2 +- llvm/test/MC/ARM/directive-arch-iwmmxt2.s | 2 +- llvm/test/MC/ARM/directive-eabi_attribute-overwrite.s | 2 +- llvm/test/MC/ARM/directive-eabi_attribute.s | 2 +- llvm/test/MC/ARM/directive-fpu-multiple.s | 2 +- llvm/test/MC/ARM/directive-object_arch-2.s | 2 +- llvm/test/MC/ARM/directive-object_arch.s | 2 +- 38 files changed, 48 insertions(+), 48 deletions(-) diff --git a/llvm/test/CodeGen/ARM/build-attributes-optimization-minsize.ll b/llvm/test/CodeGen/ARM/build-attributes-optimization-minsize.ll index c008222a95f2..3e2124e4be87 100644 --- a/llvm/test/CodeGen/ARM/build-attributes-optimization-minsize.ll +++ b/llvm/test/CodeGen/ARM/build-attributes-optimization-minsize.ll @@ -2,9 +2,9 @@ ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 | FileCheck %s ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 | FileCheck %s -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 -filetype obj -o - | llvm-readobj --arm-attributes - | FileCheck %s --check-prefix=CHECK-OBJ -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 -filetype obj -o - | llvm-readobj --arm-attributes - | FileCheck %s --check-prefix=CHECK-OBJ -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 -filetype obj -o - | llvm-readobj --arm-attributes - | FileCheck %s --check-prefix=CHECK-OBJ +; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s --check-prefix=CHECK-OBJ +; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s --check-prefix=CHECK-OBJ +; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s --check-prefix=CHECK-OBJ ; CHECK: .eabi_attribute 30, 4 @ Tag_ABI_optimization_goals ; CHECK-OBJ: TagName: ABI_optimization_goals diff --git a/llvm/test/CodeGen/ARM/build-attributes-optimization-mixed.ll b/llvm/test/CodeGen/ARM/build-attributes-optimization-mixed.ll index c144e1846cc0..734223488b9c 100644 --- a/llvm/test/CodeGen/ARM/build-attributes-optimization-mixed.ll +++ b/llvm/test/CodeGen/ARM/build-attributes-optimization-mixed.ll @@ -2,9 +2,9 @@ ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 | FileCheck %s ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 | FileCheck %s -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 -filetype obj -o - | llvm-readobj --arm-attributes - | FileCheck %s -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 -filetype obj -o - | llvm-readobj --arm-attributes - | FileCheck %s -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 -filetype obj -o - | llvm-readobj --arm-attributes - | FileCheck %s +; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s +; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s +; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s ; CHECK-NOT: .eabi_attribute 30 ; CHECK-NOT: Tag_ABI_optimization_goals diff --git a/llvm/test/CodeGen/ARM/build-attributes-optimization-optnone.ll b/llvm/test/CodeGen/ARM/build-attributes-optimization-optnone.ll index f779402bee01..7f52b869ccb8 100644 --- a/llvm/test/CodeGen/ARM/build-attributes-optimization-optnone.ll +++ b/llvm/test/CodeGen/ARM/build-attributes-optimization-optnone.ll @@ -2,9 +2,9 @@ ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 | FileCheck %s ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 | FileCheck %s -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 -filetype obj -o - | llvm-readobj --arm-attributes - | FileCheck %s --check-prefix=CHECK-OBJ -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 -filetype obj -o - | llvm-readobj --arm-attributes - | FileCheck %s --check-prefix=CHECK-OBJ -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 -filetype obj -o - | llvm-readobj --arm-attributes - | FileCheck %s --check-prefix=CHECK-OBJ +; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s --check-prefix=CHECK-OBJ +; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s --check-prefix=CHECK-OBJ +; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s --check-prefix=CHECK-OBJ ; CHECK: .eabi_attribute 30, 6 @ Tag_ABI_optimization_goals ; CHECK-OBJ: TagName: ABI_optimization_goals diff --git a/llvm/test/CodeGen/ARM/build-attributes-optimization-optsize.ll b/llvm/test/CodeGen/ARM/build-attributes-optimization-optsize.ll index 3c7df7cd7658..89b1973a889a 100644 --- a/llvm/test/CodeGen/ARM/build-attributes-optimization-optsize.ll +++ b/llvm/test/CodeGen/ARM/build-attributes-optimization-optsize.ll @@ -2,9 +2,9 @@ ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 | FileCheck %s ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 | FileCheck %s -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 -filetype obj -o - | llvm-readobj --arm-attributes - | FileCheck %s --check-prefix=CHECK-OBJ -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 -filetype obj -o - | llvm-readobj --arm-attributes - | FileCheck %s --check-prefix=CHECK-OBJ -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 -filetype obj -o - | llvm-readobj --arm-attributes - | FileCheck %s --check-prefix=CHECK-OBJ +; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s --check-prefix=CHECK-OBJ +; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s --check-prefix=CHECK-OBJ +; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s --check-prefix=CHECK-OBJ ; CHECK: .eabi_attribute 30, 3 @ Tag_ABI_optimization_goals ; CHECK-OBJ: TagName: ABI_optimization_goals diff --git a/llvm/test/CodeGen/ARM/build-attributes-optimization.ll b/llvm/test/CodeGen/ARM/build-attributes-optimization.ll index 6c1abae6b14c..85a123f7b0b0 100644 --- a/llvm/test/CodeGen/ARM/build-attributes-optimization.ll +++ b/llvm/test/CodeGen/ARM/build-attributes-optimization.ll @@ -2,9 +2,9 @@ ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 | FileCheck %s --check-prefix=SPEED ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 | FileCheck %s --check-prefix=MAXSPEED -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 -filetype obj -o - | llvm-readobj --arm-attributes - | FileCheck %s --check-prefix=NONE-OBJ -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 -filetype obj -o - | llvm-readobj --arm-attributes - | FileCheck %s --check-prefix=SPEED-OBJ -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 -filetype obj -o - | llvm-readobj --arm-attributes - | FileCheck %s --check-prefix=MAXSPEED-OBJ +; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s --check-prefix=NONE-OBJ +; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s --check-prefix=SPEED-OBJ +; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s --check-prefix=MAXSPEED-OBJ ; NONE: .eabi_attribute 30, 5 @ Tag_ABI_optimization_goals ; SPEED: .eabi_attribute 30, 1 @ Tag_ABI_optimization_goals diff --git a/llvm/test/MC/ARM/directive-arch-armv2.s b/llvm/test/MC/ARM/directive-arch-armv2.s index ceec7cfeda9f..8985a0e19ff6 100644 --- a/llvm/test/MC/ARM/directive-arch-armv2.s +++ b/llvm/test/MC/ARM/directive-arch-armv2.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv2 diff --git a/llvm/test/MC/ARM/directive-arch-armv2a.s b/llvm/test/MC/ARM/directive-arch-armv2a.s index c07718e2edbe..7ee434dde61c 100644 --- a/llvm/test/MC/ARM/directive-arch-armv2a.s +++ b/llvm/test/MC/ARM/directive-arch-armv2a.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv2a diff --git a/llvm/test/MC/ARM/directive-arch-armv3.s b/llvm/test/MC/ARM/directive-arch-armv3.s index ad773c9cfaf7..6e514b69c08e 100644 --- a/llvm/test/MC/ARM/directive-arch-armv3.s +++ b/llvm/test/MC/ARM/directive-arch-armv3.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv3 diff --git a/llvm/test/MC/ARM/directive-arch-armv3m.s b/llvm/test/MC/ARM/directive-arch-armv3m.s index be5878277499..08843c834b77 100644 --- a/llvm/test/MC/ARM/directive-arch-armv3m.s +++ b/llvm/test/MC/ARM/directive-arch-armv3m.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv3m diff --git a/llvm/test/MC/ARM/directive-arch-armv4.s b/llvm/test/MC/ARM/directive-arch-armv4.s index 78e97e7aee44..d49d4fd6c751 100644 --- a/llvm/test/MC/ARM/directive-arch-armv4.s +++ b/llvm/test/MC/ARM/directive-arch-armv4.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv4 diff --git a/llvm/test/MC/ARM/directive-arch-armv4t.s b/llvm/test/MC/ARM/directive-arch-armv4t.s index 11f06ef2025a..a4eafb1e238a 100644 --- a/llvm/test/MC/ARM/directive-arch-armv4t.s +++ b/llvm/test/MC/ARM/directive-arch-armv4t.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv4t diff --git a/llvm/test/MC/ARM/directive-arch-armv5.s b/llvm/test/MC/ARM/directive-arch-armv5.s index a3cbaa93b95d..8f94af66d6fb 100644 --- a/llvm/test/MC/ARM/directive-arch-armv5.s +++ b/llvm/test/MC/ARM/directive-arch-armv5.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv5 diff --git a/llvm/test/MC/ARM/directive-arch-armv5t.s b/llvm/test/MC/ARM/directive-arch-armv5t.s index fc1370f98cd0..234180ecb581 100644 --- a/llvm/test/MC/ARM/directive-arch-armv5t.s +++ b/llvm/test/MC/ARM/directive-arch-armv5t.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv5t diff --git a/llvm/test/MC/ARM/directive-arch-armv5te.s b/llvm/test/MC/ARM/directive-arch-armv5te.s index 42229206087a..2c4c148a363b 100644 --- a/llvm/test/MC/ARM/directive-arch-armv5te.s +++ b/llvm/test/MC/ARM/directive-arch-armv5te.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv5te diff --git a/llvm/test/MC/ARM/directive-arch-armv6-m.s b/llvm/test/MC/ARM/directive-arch-armv6-m.s index bc33f330eae6..c37b8b1680c5 100644 --- a/llvm/test/MC/ARM/directive-arch-armv6-m.s +++ b/llvm/test/MC/ARM/directive-arch-armv6-m.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv6-m diff --git a/llvm/test/MC/ARM/directive-arch-armv6.s b/llvm/test/MC/ARM/directive-arch-armv6.s index 04a963edaaa9..2c631500bb9a 100644 --- a/llvm/test/MC/ARM/directive-arch-armv6.s +++ b/llvm/test/MC/ARM/directive-arch-armv6.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv6 diff --git a/llvm/test/MC/ARM/directive-arch-armv6k.s b/llvm/test/MC/ARM/directive-arch-armv6k.s index 1af24942e13c..ba6adea597e0 100644 --- a/llvm/test/MC/ARM/directive-arch-armv6k.s +++ b/llvm/test/MC/ARM/directive-arch-armv6k.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv6k diff --git a/llvm/test/MC/ARM/directive-arch-armv6t2.s b/llvm/test/MC/ARM/directive-arch-armv6t2.s index dd9905cf1b81..0be5169b3776 100644 --- a/llvm/test/MC/ARM/directive-arch-armv6t2.s +++ b/llvm/test/MC/ARM/directive-arch-armv6t2.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv6t2 diff --git a/llvm/test/MC/ARM/directive-arch-armv6z.s b/llvm/test/MC/ARM/directive-arch-armv6z.s index 509040f45789..efebe951e269 100644 --- a/llvm/test/MC/ARM/directive-arch-armv6z.s +++ b/llvm/test/MC/ARM/directive-arch-armv6z.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv6z diff --git a/llvm/test/MC/ARM/directive-arch-armv7-a.s b/llvm/test/MC/ARM/directive-arch-armv7-a.s index 6c1f8fcafd6f..c3bd86de1349 100644 --- a/llvm/test/MC/ARM/directive-arch-armv7-a.s +++ b/llvm/test/MC/ARM/directive-arch-armv7-a.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv7-a diff --git a/llvm/test/MC/ARM/directive-arch-armv7-m.s b/llvm/test/MC/ARM/directive-arch-armv7-m.s index ac41bab5ca0d..96df23a96b2e 100644 --- a/llvm/test/MC/ARM/directive-arch-armv7-m.s +++ b/llvm/test/MC/ARM/directive-arch-armv7-m.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv7-m diff --git a/llvm/test/MC/ARM/directive-arch-armv7-r.s b/llvm/test/MC/ARM/directive-arch-armv7-r.s index a7b57542610c..b67aee3f2ea2 100644 --- a/llvm/test/MC/ARM/directive-arch-armv7-r.s +++ b/llvm/test/MC/ARM/directive-arch-armv7-r.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv7-r diff --git a/llvm/test/MC/ARM/directive-arch-armv7.s b/llvm/test/MC/ARM/directive-arch-armv7.s index 104c7fec5480..1ea2bcf89fbe 100644 --- a/llvm/test/MC/ARM/directive-arch-armv7.s +++ b/llvm/test/MC/ARM/directive-arch-armv7.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv7 diff --git a/llvm/test/MC/ARM/directive-arch-armv7a.s b/llvm/test/MC/ARM/directive-arch-armv7a.s index 9189dedcbb5b..e17e170fb057 100644 --- a/llvm/test/MC/ARM/directive-arch-armv7a.s +++ b/llvm/test/MC/ARM/directive-arch-armv7a.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv7a diff --git a/llvm/test/MC/ARM/directive-arch-armv7e-m.s b/llvm/test/MC/ARM/directive-arch-armv7e-m.s index bebf2dcda65a..39f9184fd421 100644 --- a/llvm/test/MC/ARM/directive-arch-armv7e-m.s +++ b/llvm/test/MC/ARM/directive-arch-armv7e-m.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv7e-m diff --git a/llvm/test/MC/ARM/directive-arch-armv7em.s b/llvm/test/MC/ARM/directive-arch-armv7em.s index ac6d1cc59dfc..10f9effebcc4 100644 --- a/llvm/test/MC/ARM/directive-arch-armv7em.s +++ b/llvm/test/MC/ARM/directive-arch-armv7em.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv7em diff --git a/llvm/test/MC/ARM/directive-arch-armv7m.s b/llvm/test/MC/ARM/directive-arch-armv7m.s index aafb3ee31e84..5b623af34e6a 100644 --- a/llvm/test/MC/ARM/directive-arch-armv7m.s +++ b/llvm/test/MC/ARM/directive-arch-armv7m.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv7m diff --git a/llvm/test/MC/ARM/directive-arch-armv7r.s b/llvm/test/MC/ARM/directive-arch-armv7r.s index d99b5da5074c..f4461483b535 100644 --- a/llvm/test/MC/ARM/directive-arch-armv7r.s +++ b/llvm/test/MC/ARM/directive-arch-armv7r.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv7r diff --git a/llvm/test/MC/ARM/directive-arch-armv8-a.s b/llvm/test/MC/ARM/directive-arch-armv8-a.s index 1b5152a4fd46..fd567c8e4b3a 100644 --- a/llvm/test/MC/ARM/directive-arch-armv8-a.s +++ b/llvm/test/MC/ARM/directive-arch-armv8-a.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv8-a diff --git a/llvm/test/MC/ARM/directive-arch-armv8.2-a.s b/llvm/test/MC/ARM/directive-arch-armv8.2-a.s index 1118b1261713..8cd7c2f740a5 100644 --- a/llvm/test/MC/ARM/directive-arch-armv8.2-a.s +++ b/llvm/test/MC/ARM/directive-arch-armv8.2-a.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv8.2-a diff --git a/llvm/test/MC/ARM/directive-arch-armv8a.s b/llvm/test/MC/ARM/directive-arch-armv8a.s index 0226231afc96..e9a5bef89d54 100644 --- a/llvm/test/MC/ARM/directive-arch-armv8a.s +++ b/llvm/test/MC/ARM/directive-arch-armv8a.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch armv8a diff --git a/llvm/test/MC/ARM/directive-arch-iwmmxt.s b/llvm/test/MC/ARM/directive-arch-iwmmxt.s index 2a15bbe537c1..2a9317ddf462 100644 --- a/llvm/test/MC/ARM/directive-arch-iwmmxt.s +++ b/llvm/test/MC/ARM/directive-arch-iwmmxt.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch iwmmxt diff --git a/llvm/test/MC/ARM/directive-arch-iwmmxt2.s b/llvm/test/MC/ARM/directive-arch-iwmmxt2.s index dec5abad8b7c..90b2181ee292 100644 --- a/llvm/test/MC/ARM/directive-arch-iwmmxt2.s +++ b/llvm/test/MC/ARM/directive-arch-iwmmxt2.s @@ -6,7 +6,7 @@ @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \ @ RUN: | FileCheck %s -check-prefix CHECK-ASM @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .arch iwmmxt2 diff --git a/llvm/test/MC/ARM/directive-eabi_attribute-overwrite.s b/llvm/test/MC/ARM/directive-eabi_attribute-overwrite.s index b659cd2c285c..194c77e6a75c 100644 --- a/llvm/test/MC/ARM/directive-eabi_attribute-overwrite.s +++ b/llvm/test/MC/ARM/directive-eabi_attribute-overwrite.s @@ -1,5 +1,5 @@ @ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s -check-prefix CHECK-ATTR +@ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR .syntax unified .thumb diff --git a/llvm/test/MC/ARM/directive-eabi_attribute.s b/llvm/test/MC/ARM/directive-eabi_attribute.s index c25b0ae152af..445bc215cfb7 100644 --- a/llvm/test/MC/ARM/directive-eabi_attribute.s +++ b/llvm/test/MC/ARM/directive-eabi_attribute.s @@ -1,6 +1,6 @@ @ RUN: llvm-mc -triple armv7-elf -filetype asm -o - %s | FileCheck %s @ RUN: llvm-mc < %s -triple armv7-unknown-linux-gnueabi -filetype=obj -o - \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s --check-prefix=CHECK-OBJ +@ RUN: | llvm-readobj --arch-specific | FileCheck %s --check-prefix=CHECK-OBJ .syntax unified .thumb diff --git a/llvm/test/MC/ARM/directive-fpu-multiple.s b/llvm/test/MC/ARM/directive-fpu-multiple.s index eaa5af97f7a5..4f474f0a9554 100644 --- a/llvm/test/MC/ARM/directive-fpu-multiple.s +++ b/llvm/test/MC/ARM/directive-fpu-multiple.s @@ -3,7 +3,7 @@ @ The later .fpu directive should overwrite the earlier one. @ We also check here that all the .fpu directives that we expect to work do work -@ RUN: llvm-mc -triple arm-eabi -filetype obj %s | llvm-readobj --arm-attributes \ +@ RUN: llvm-mc -triple arm-eabi -filetype obj %s | llvm-readobj --arch-specific \ @ RUN: | FileCheck %s -check-prefix CHECK-ATTR .fpu none diff --git a/llvm/test/MC/ARM/directive-object_arch-2.s b/llvm/test/MC/ARM/directive-object_arch-2.s index 9f661182ffc5..b536f53e7f37 100644 --- a/llvm/test/MC/ARM/directive-object_arch-2.s +++ b/llvm/test/MC/ARM/directive-object_arch-2.s @@ -1,5 +1,5 @@ @ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s +@ RUN: | llvm-readobj --arch-specific | FileCheck %s .syntax unified diff --git a/llvm/test/MC/ARM/directive-object_arch.s b/llvm/test/MC/ARM/directive-object_arch.s index 3b0994085554..74de1734a40d 100644 --- a/llvm/test/MC/ARM/directive-object_arch.s +++ b/llvm/test/MC/ARM/directive-object_arch.s @@ -1,5 +1,5 @@ @ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s \ -@ RUN: | llvm-readobj --arm-attributes | FileCheck %s +@ RUN: | llvm-readobj --arch-specific | FileCheck %s .syntax unified