[llvm] r359661 - [llvm-readobj] Change -t to --symbols in tests. NFC
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed May 1 02:28:25 PDT 2019
Author: maskray
Date: Wed May 1 02:28:24 2019
New Revision: 359661
URL: http://llvm.org/viewvc/llvm-project?rev=359661&view=rev
Log:
[llvm-readobj] Change -t to --symbols in tests. NFC
-t is --symbols in llvm-readobj but --section-details (unimplemented) in readelf.
The confusing option should not be used since we aim for improving
compatibility.
Keep just one llvm-readobj -t use case in test/tools/llvm-readobj/symbols.test
Modified:
llvm/trunk/test/CodeGen/ARM/2010-12-15-elf-lcomm.ll
llvm/trunk/test/CodeGen/PowerPC/pr15359.ll
llvm/trunk/test/CodeGen/SPARC/tls.ll
llvm/trunk/test/DebugInfo/X86/generate-odr-hash.ll
llvm/trunk/test/LTO/Resolution/X86/linker-redef-thin.ll
llvm/trunk/test/LTO/Resolution/X86/linker-redef.ll
llvm/trunk/test/MC/AArch64/CheckDataSymbol.s
llvm/trunk/test/MC/AArch64/arm64-tls-relocs.s
llvm/trunk/test/MC/AArch64/coff-function-type-info.ll
llvm/trunk/test/MC/AArch64/tls-relocs.s
llvm/trunk/test/MC/ARM/CheckDataSymbol.s
llvm/trunk/test/MC/ARM/arm-elf-symver.s
llvm/trunk/test/MC/ARM/coff-function-type-info.ll
llvm/trunk/test/MC/ARM/data-in-code.ll
llvm/trunk/test/MC/ARM/eh-directive-section-comdat.s
llvm/trunk/test/MC/ARM/eh-directive-section-multiple-func.s
llvm/trunk/test/MC/ARM/eh-directive-section.s
llvm/trunk/test/MC/ARM/eh-directive-text-section-multiple-func.s
llvm/trunk/test/MC/ARM/elf-thumbfunc-reloc2.s
llvm/trunk/test/MC/ARM/elf-thumbfunc.s
llvm/trunk/test/MC/ARM/thumb-st_other.s
llvm/trunk/test/MC/ARM/thumb-types.s
llvm/trunk/test/MC/ARM/thumb_set.s
llvm/trunk/test/MC/AsmParser/directive_end-2.s
llvm/trunk/test/MC/AsmParser/directive_end.s
llvm/trunk/test/MC/COFF/addrsig.s
llvm/trunk/test/MC/COFF/alias.s
llvm/trunk/test/MC/COFF/basic-coff-64.s
llvm/trunk/test/MC/COFF/basic-coff.s
llvm/trunk/test/MC/COFF/comm.s
llvm/trunk/test/MC/COFF/early-dce.s
llvm/trunk/test/MC/COFF/feat00.s
llvm/trunk/test/MC/COFF/linkonce.s
llvm/trunk/test/MC/COFF/offset.s
llvm/trunk/test/MC/COFF/section-comdat.s
llvm/trunk/test/MC/COFF/symbol-alias.s
llvm/trunk/test/MC/COFF/symbol-fragment-offset-64.s
llvm/trunk/test/MC/COFF/symbol-fragment-offset.s
llvm/trunk/test/MC/COFF/tricky-names.ll
llvm/trunk/test/MC/COFF/weak-alias-local.s
llvm/trunk/test/MC/COFF/weak-val.s
llvm/trunk/test/MC/COFF/weak.s
llvm/trunk/test/MC/ELF/ARM/clang-section.s
llvm/trunk/test/MC/ELF/ARM/execute-only-populated-text-section.s
llvm/trunk/test/MC/ELF/ARM/execute-only-section.s
llvm/trunk/test/MC/ELF/ARM/execute-only-text-section-data.s
llvm/trunk/test/MC/ELF/abs.s
llvm/trunk/test/MC/ELF/addrsig.s
llvm/trunk/test/MC/ELF/alias-reloc.s
llvm/trunk/test/MC/ELF/alias.s
llvm/trunk/test/MC/ELF/basic-elf-32.s
llvm/trunk/test/MC/ELF/basic-elf-64.s
llvm/trunk/test/MC/ELF/cgprofile.s
llvm/trunk/test/MC/ELF/comdat-dup-group-name.s
llvm/trunk/test/MC/ELF/comdat.s
llvm/trunk/test/MC/ELF/common.s
llvm/trunk/test/MC/ELF/file-double.s
llvm/trunk/test/MC/ELF/file.s
llvm/trunk/test/MC/ELF/got.s
llvm/trunk/test/MC/ELF/lcomm.s
llvm/trunk/test/MC/ELF/local-reloc.s
llvm/trunk/test/MC/ELF/many-sections-2.s
llvm/trunk/test/MC/ELF/many-sections-3.s
llvm/trunk/test/MC/ELF/many-sections.s
llvm/trunk/test/MC/ELF/offset.s
llvm/trunk/test/MC/ELF/pic-diff.s
llvm/trunk/test/MC/ELF/pr9292.s
llvm/trunk/test/MC/ELF/relax.s
llvm/trunk/test/MC/ELF/rename.s
llvm/trunk/test/MC/ELF/section-numeric-flag.s
llvm/trunk/test/MC/ELF/section-numeric-invalid-type.s
llvm/trunk/test/MC/ELF/section-numeric-type.s
llvm/trunk/test/MC/ELF/section-sym.s
llvm/trunk/test/MC/ELF/section-sym2.s
llvm/trunk/test/MC/ELF/section-unique.s
llvm/trunk/test/MC/ELF/set.s
llvm/trunk/test/MC/ELF/size.s
llvm/trunk/test/MC/ELF/symbol-names.s
llvm/trunk/test/MC/ELF/symver-msvc.s
llvm/trunk/test/MC/ELF/symver-pr23914.s
llvm/trunk/test/MC/ELF/symver.s
llvm/trunk/test/MC/ELF/tls-i386.s
llvm/trunk/test/MC/ELF/tls.s
llvm/trunk/test/MC/ELF/type-propagate.s
llvm/trunk/test/MC/ELF/type.s
llvm/trunk/test/MC/ELF/undef.s
llvm/trunk/test/MC/ELF/weak.s
llvm/trunk/test/MC/ELF/weakref-plt.s
llvm/trunk/test/MC/ELF/weakref-reloc.s
llvm/trunk/test/MC/ELF/weakref.s
llvm/trunk/test/MC/MSP430/refsym.s
llvm/trunk/test/MC/MachO/ARM/darwin-ARM-reloc.s
llvm/trunk/test/MC/MachO/ARM/darwin-Thumb-reloc.s
llvm/trunk/test/MC/MachO/absolute.s
llvm/trunk/test/MC/MachO/absolutize.s
llvm/trunk/test/MC/MachO/altentry.s
llvm/trunk/test/MC/MachO/comm-1.s
llvm/trunk/test/MC/MachO/darwin-complex-difference.s
llvm/trunk/test/MC/MachO/darwin-x86_64-diff-relocs.s
llvm/trunk/test/MC/MachO/darwin-x86_64-reloc-offsets.s
llvm/trunk/test/MC/MachO/direction_labels.s
llvm/trunk/test/MC/MachO/indirect-symbols.s
llvm/trunk/test/MC/MachO/lcomm-attributes.s
llvm/trunk/test/MC/MachO/pcrel-to-other-section.s
llvm/trunk/test/MC/MachO/section-align-1.s
llvm/trunk/test/MC/MachO/section-align-2.s
llvm/trunk/test/MC/MachO/string-table.s
llvm/trunk/test/MC/MachO/symbol-diff.s
llvm/trunk/test/MC/MachO/symbol-flags.s
llvm/trunk/test/MC/MachO/symbol-indirect.s
llvm/trunk/test/MC/MachO/symbols-1.s
llvm/trunk/test/MC/MachO/tbss.s
llvm/trunk/test/MC/MachO/tdata.s
llvm/trunk/test/MC/MachO/temp-labels.s
llvm/trunk/test/MC/MachO/tls.s
llvm/trunk/test/MC/MachO/tlv-reloc.s
llvm/trunk/test/MC/MachO/tlv.s
llvm/trunk/test/MC/MachO/values.s
llvm/trunk/test/MC/MachO/variable-exprs.s
llvm/trunk/test/MC/MachO/weakdef.s
llvm/trunk/test/MC/MachO/x86_32-optimal_nop.s
llvm/trunk/test/MC/MachO/x86_32-symbols.s
llvm/trunk/test/MC/MachO/x86_64-reloc-arithmetic.s
llvm/trunk/test/MC/MachO/x86_64-symbols.s
llvm/trunk/test/MC/MachO/zero-space.s
llvm/trunk/test/MC/MachO/zerofill-1.s
llvm/trunk/test/MC/MachO/zerofill-2.s
llvm/trunk/test/MC/MachO/zerofill-3.s
llvm/trunk/test/MC/MachO/zerofill-4.s
llvm/trunk/test/MC/MachO/zerofill-5.s
llvm/trunk/test/MC/MachO/zerofill-sect-align.s
llvm/trunk/test/MC/Mips/elf-relsym.s
llvm/trunk/test/MC/Mips/elf_st_other.s
llvm/trunk/test/MC/Mips/micromips-alias.s
llvm/trunk/test/MC/Mips/micromips-label-test-sections.s
llvm/trunk/test/MC/Mips/micromips-label-test.s
llvm/trunk/test/MC/PowerPC/st-other-crash.s
llvm/trunk/test/MC/X86/expand-var.s
llvm/trunk/test/Object/ARM/nm-mapping-symbol.s
llvm/trunk/test/Object/invalid.test
llvm/trunk/test/Object/readobj-shared-object.test
llvm/trunk/test/ThinLTO/X86/personality-local.ll
llvm/trunk/test/ThinLTO/X86/personality.ll
llvm/trunk/test/tools/gold/X86/comdat.ll
llvm/trunk/test/tools/gold/X86/pr19901.ll
llvm/trunk/test/tools/gold/X86/pr19901_thinlto.ll
llvm/trunk/test/tools/gold/X86/v1.16/wrap-1.ll
llvm/trunk/test/tools/gold/X86/v1.16/wrap-2.ll
llvm/trunk/test/tools/gold/X86/visibility.ll
llvm/trunk/test/tools/llvm-objcopy/ELF/symbol-empty-name.test
llvm/trunk/test/tools/llvm-readobj/coff-file-sections-reading.test
llvm/trunk/test/tools/llvm-readobj/coff-non-null-terminated-file.test
llvm/trunk/test/tools/llvm-readobj/coff-zero-string-table.test
llvm/trunk/test/tools/llvm-readobj/cxx-cli-aux.test
llvm/trunk/test/tools/llvm-readobj/wasm-invalid.test
Modified: llvm/trunk/test/CodeGen/ARM/2010-12-15-elf-lcomm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/2010-12-15-elf-lcomm.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/2010-12-15-elf-lcomm.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/2010-12-15-elf-lcomm.ll Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
; RUN: llc %s -mtriple=armv7-linux-gnueabi -filetype=obj -o - | \
-; RUN: llvm-readobj -S -t | FileCheck -check-prefix=OBJ %s
+; RUN: llvm-readobj -S --symbols | FileCheck -check-prefix=OBJ %s
; RUN: llc %s -mtriple=armv7-linux-gnueabi -o - | \
; RUN: FileCheck -check-prefix=ASM %s
Modified: llvm/trunk/test/CodeGen/PowerPC/pr15359.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/pr15359.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/pr15359.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/pr15359.ll Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
; RUN: llc -verify-machineinstrs -O0 -mcpu=pwr7 -filetype=obj %s -o - | \
-; RUN: llvm-readobj -t | FileCheck %s
+; RUN: llvm-readobj --symbols | FileCheck %s
target datalayout = "E-p:64:64:64-S0-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-f128:128:128-v64:64:64-v128:128:128-a0:0:64-n32:64"
target triple = "powerpc64-unknown-linux-gnu"
Modified: llvm/trunk/test/CodeGen/SPARC/tls.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SPARC/tls.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SPARC/tls.ll (original)
+++ llvm/trunk/test/CodeGen/SPARC/tls.ll Wed May 1 02:28:24 2019
@@ -3,10 +3,10 @@
; RUN: llc <%s -march=sparc -relocation-model=pic | FileCheck %s --check-prefix=pic
; RUN: llc <%s -march=sparcv9 -relocation-model=pic | FileCheck %s --check-prefix=pic
-; RUN: llc <%s -march=sparc -relocation-model=static -filetype=obj | llvm-readobj -r -t | FileCheck %s --check-prefix=v8abs-obj
-; RUN: llc <%s -march=sparcv9 -relocation-model=static -filetype=obj | llvm-readobj -r -t | FileCheck %s --check-prefix=v9abs-obj
-; RUN: llc <%s -march=sparc -relocation-model=pic -filetype=obj | llvm-readobj -r -t | FileCheck %s --check-prefix=pic-obj
-; RUN: llc <%s -march=sparcv9 -relocation-model=pic -filetype=obj | llvm-readobj -r -t | FileCheck %s --check-prefix=pic-obj
+; RUN: llc <%s -march=sparc -relocation-model=static -filetype=obj | llvm-readobj -r --symbols | FileCheck %s --check-prefix=v8abs-obj
+; RUN: llc <%s -march=sparcv9 -relocation-model=static -filetype=obj | llvm-readobj -r --symbols | FileCheck %s --check-prefix=v9abs-obj
+; RUN: llc <%s -march=sparc -relocation-model=pic -filetype=obj | llvm-readobj -r --symbols | FileCheck %s --check-prefix=pic-obj
+; RUN: llc <%s -march=sparcv9 -relocation-model=pic -filetype=obj | llvm-readobj -r --symbols | FileCheck %s --check-prefix=pic-obj
@local_symbol = internal thread_local global i32 0
@extern_symbol = external thread_local global i32
Modified: llvm/trunk/test/DebugInfo/X86/generate-odr-hash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/generate-odr-hash.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/X86/generate-odr-hash.ll (original)
+++ llvm/trunk/test/DebugInfo/X86/generate-odr-hash.ll Wed May 1 02:28:24 2019
@@ -2,11 +2,11 @@
; RUN: llc < %s -o %t -filetype=obj -O0 -generate-type-units -mtriple=x86_64-unknown-linux-gnu
; RUN: llvm-dwarfdump -v %t | FileCheck --check-prefix=CHECK --check-prefix=SINGLE %s
-; RUN: llvm-readobj -S -t %t | FileCheck --check-prefix=OBJ_SINGLE %s
+; RUN: llvm-readobj -S --symbols %t | FileCheck --check-prefix=OBJ_SINGLE %s
; RUN: llc < %s -split-dwarf-file=foo.dwo -o %t -filetype=obj -O0 -generate-type-units -mtriple=x86_64-unknown-linux-gnu
; RUN: llvm-dwarfdump -v %t | FileCheck --check-prefix=CHECK --check-prefix=FISSION %s
-; RUN: llvm-readobj -S -t %t | FileCheck --check-prefix=OBJ_FISSION %s
+; RUN: llvm-readobj -S --symbols %t | FileCheck --check-prefix=OBJ_FISSION %s
; Generated from bar.cpp:
Modified: llvm/trunk/test/LTO/Resolution/X86/linker-redef-thin.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LTO/Resolution/X86/linker-redef-thin.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/LTO/Resolution/X86/linker-redef-thin.ll (original)
+++ llvm/trunk/test/LTO/Resolution/X86/linker-redef-thin.ll Wed May 1 02:28:24 2019
@@ -1,6 +1,6 @@
; RUN: opt -module-summary %s -o %t.o
; RUN: llvm-lto2 run -o %t1.o %t.o -r %t.o,patatino,pr
-; RUN: llvm-readobj -t %t1.o.1 | FileCheck %s
+; RUN: llvm-readobj --symbols %t1.o.1 | FileCheck %s
; CHECK: Name: patatino
; CHECK-NEXT: Value:
Modified: llvm/trunk/test/LTO/Resolution/X86/linker-redef.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LTO/Resolution/X86/linker-redef.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/LTO/Resolution/X86/linker-redef.ll (original)
+++ llvm/trunk/test/LTO/Resolution/X86/linker-redef.ll Wed May 1 02:28:24 2019
@@ -1,6 +1,6 @@
; RUN: llvm-as %s -o %t.o
; RUN: llvm-lto2 run -o %t1.o %t.o -r %t.o,bar,pr
-; RUN: llvm-readobj -t %t1.o.0 | FileCheck %s
+; RUN: llvm-readobj --symbols %t1.o.0 | FileCheck %s
; CHECK: Name: bar
; CHECK-NEXT: Value:
Modified: llvm/trunk/test/MC/AArch64/CheckDataSymbol.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AArch64/CheckDataSymbol.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/AArch64/CheckDataSymbol.s (original)
+++ llvm/trunk/test/MC/AArch64/CheckDataSymbol.s Wed May 1 02:28:24 2019
@@ -1,6 +1,6 @@
# RUN: llvm-mc -filetype=obj -assemble \
# RUN: -triple=aarch64- %s -o - \
-# RUN: | llvm-readobj -S -t - | FileCheck %s
+# RUN: | llvm-readobj -S --symbols - | FileCheck %s
# CHECK: Name: $d.1 ({{[1-9][0-9]+}})
# CHECK-NEXT: Value: 0x4
# CHECK-NEXT: Size: 0
Modified: llvm/trunk/test/MC/AArch64/arm64-tls-relocs.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AArch64/arm64-tls-relocs.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/AArch64/arm64-tls-relocs.s (original)
+++ llvm/trunk/test/MC/AArch64/arm64-tls-relocs.s Wed May 1 02:28:24 2019
@@ -1,6 +1,6 @@
// RUN: llvm-mc -triple=arm64-none-linux-gnu -show-encoding < %s | FileCheck %s
// RUN: llvm-mc -triple=arm64-none-linux-gnu -filetype=obj < %s -o - | \
-// RUN: llvm-readobj -r -t | FileCheck --check-prefix=CHECK-ELF %s
+// RUN: llvm-readobj -r --symbols | FileCheck --check-prefix=CHECK-ELF %s
////////////////////////////////////////////////////////////////////////////////
// TLS initial-exec forms
Modified: llvm/trunk/test/MC/AArch64/coff-function-type-info.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AArch64/coff-function-type-info.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/AArch64/coff-function-type-info.ll (original)
+++ llvm/trunk/test/MC/AArch64/coff-function-type-info.ll Wed May 1 02:28:24 2019
@@ -2,7 +2,7 @@
; RUN: | FileCheck %s -check-prefix CHECK-ASM
; RUN: llc -mtriple arm64-windows -filetype obj -o - %s \
-; RUN: | llvm-readobj -t | FileCheck %s -check-prefix CHECK-OBJECT
+; RUN: | llvm-readobj --symbols | FileCheck %s -check-prefix CHECK-OBJECT
define arm_aapcs_vfpcc void @external() {
entry:
Modified: llvm/trunk/test/MC/AArch64/tls-relocs.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AArch64/tls-relocs.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/AArch64/tls-relocs.s (original)
+++ llvm/trunk/test/MC/AArch64/tls-relocs.s Wed May 1 02:28:24 2019
@@ -1,6 +1,6 @@
// 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
+// RUN: llvm-readobj -r --symbols | FileCheck --check-prefix=CHECK-ELF %s
// TLS local-dynamic forms
movz x1, #:dtprel_g2:var
Modified: llvm/trunk/test/MC/ARM/CheckDataSymbol.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/CheckDataSymbol.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/CheckDataSymbol.s (original)
+++ llvm/trunk/test/MC/ARM/CheckDataSymbol.s Wed May 1 02:28:24 2019
@@ -1,6 +1,6 @@
# RUN: llvm-mc -filetype=obj -assemble \
# RUN: -triple=arm-arm-none-eabi -mcpu=cortex-a9 %s -o - \
-# RUN: | llvm-readobj -S -t - | FileCheck %s
+# RUN: | llvm-readobj -S --symbols - | FileCheck %s
# CHECK: Name: $d.1 ({{[1-9][0-9]+}})
# CHECK-NEXT: Value: 0x4
# CHECK-NEXT: Size: 0
Modified: llvm/trunk/test/MC/ARM/arm-elf-symver.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/arm-elf-symver.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/arm-elf-symver.s (original)
+++ llvm/trunk/test/MC/ARM/arm-elf-symver.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
-@ RUN: llvm-mc -filetype=obj -triple arm-none-linux-gnueabi %s -o - | llvm-readobj -r -t | FileCheck %s
-@ RUN: llvm-mc -filetype=obj -triple thumb-none-linux-gnueabi %s -o - | llvm-readobj -r -t | FileCheck %s
+@ RUN: llvm-mc -filetype=obj -triple arm-none-linux-gnueabi %s -o - | llvm-readobj -r --symbols | FileCheck %s
+@ RUN: llvm-mc -filetype=obj -triple thumb-none-linux-gnueabi %s -o - | llvm-readobj -r --symbols | FileCheck %s
defined1:
defined2:
Modified: llvm/trunk/test/MC/ARM/coff-function-type-info.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/coff-function-type-info.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/coff-function-type-info.ll (original)
+++ llvm/trunk/test/MC/ARM/coff-function-type-info.ll Wed May 1 02:28:24 2019
@@ -2,7 +2,7 @@
; RUN: | FileCheck %s -check-prefix CHECK-ASM
; RUN: llc -mtriple thumbv7-windows-itanium -filetype obj -o - %s \
-; RUN: | llvm-readobj -t | FileCheck %s -check-prefix CHECK-OBJECT
+; RUN: | llvm-readobj --symbols | FileCheck %s -check-prefix CHECK-OBJECT
define arm_aapcs_vfpcc void @external() {
entry:
Modified: llvm/trunk/test/MC/ARM/data-in-code.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/data-in-code.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/data-in-code.ll (original)
+++ llvm/trunk/test/MC/ARM/data-in-code.ll Wed May 1 02:28:24 2019
@@ -1,10 +1,10 @@
;; RUN: llc -verify-machineinstrs \
;; RUN: -mtriple=armv7-linux-gnueabi -filetype=obj %s -o - | \
-;; RUN: llvm-readobj -t | FileCheck -check-prefix=ARM %s
+;; RUN: llvm-readobj --symbols | FileCheck -check-prefix=ARM %s
;; RUN: llc -verify-machineinstrs \
;; RUN: -mtriple=thumbv7-linux-gnueabi -filetype=obj %s -o - | \
-;; RUN: llvm-readobj -t | FileCheck -check-prefix=TMB %s
+;; RUN: llvm-readobj --symbols | FileCheck -check-prefix=TMB %s
;; Ensure that if a jump table is generated that it has Mapping Symbols
;; marking the data-in-code region.
Modified: llvm/trunk/test/MC/ARM/eh-directive-section-comdat.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/eh-directive-section-comdat.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/eh-directive-section-comdat.s (original)
+++ llvm/trunk/test/MC/ARM/eh-directive-section-comdat.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
@ RUN: llvm-mc %s -triple=armv7-unknown-linux-gnueabi -filetype=obj -o - \
-@ RUN: | llvm-readobj -S --sd --sr -t | FileCheck %s
+@ RUN: | llvm-readobj -S --sd --sr --symbols | FileCheck %s
@ Check the .group section for the function in comdat section.
Modified: llvm/trunk/test/MC/ARM/eh-directive-section-multiple-func.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/eh-directive-section-multiple-func.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/eh-directive-section-multiple-func.s (original)
+++ llvm/trunk/test/MC/ARM/eh-directive-section-multiple-func.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
@ RUN: llvm-mc %s -triple=armv7-unknown-linux-gnueabi -filetype=obj -o - \
-@ RUN: | llvm-readobj -S --sd --sr -t > %t
+@ RUN: | llvm-readobj -S --sd --sr --symbols > %t
@ RUN: FileCheck %s < %t
@ RUN: FileCheck --check-prefix=RELOC %s < %t
Modified: llvm/trunk/test/MC/ARM/eh-directive-section.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/eh-directive-section.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/eh-directive-section.s (original)
+++ llvm/trunk/test/MC/ARM/eh-directive-section.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
@ RUN: llvm-mc %s -triple=armv7-unknown-linux-gnueabi -filetype=obj -o - \
-@ RUN: | llvm-readobj -S --sd --sr -t > %t
+@ RUN: | llvm-readobj -S --sd --sr --symbols > %t
@ RUN: FileCheck %s < %t
@ RUN: FileCheck --check-prefix=RELOC %s < %t
Modified: llvm/trunk/test/MC/ARM/eh-directive-text-section-multiple-func.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/eh-directive-text-section-multiple-func.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/eh-directive-text-section-multiple-func.s (original)
+++ llvm/trunk/test/MC/ARM/eh-directive-text-section-multiple-func.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
@ RUN: llvm-mc %s -triple=armv7-unknown-linux-gnueabi -filetype=obj -o - \
-@ RUN: | llvm-readobj -S --sd --sr -r -t | FileCheck %s
+@ RUN: | llvm-readobj -S --sd --sr -r --symbols | FileCheck %s
@ Check whether the section is switched back or not.
Modified: llvm/trunk/test/MC/ARM/elf-thumbfunc-reloc2.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/elf-thumbfunc-reloc2.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/elf-thumbfunc-reloc2.s (original)
+++ llvm/trunk/test/MC/ARM/elf-thumbfunc-reloc2.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
// RUN: llvm-mc %s -triple=thumbv7-linux-gnueabi \
-// RUN: -filetype=obj -o - | llvm-readobj -S --sd -r -t | \
+// RUN: -filetype=obj -o - | llvm-readobj -S --sd -r --symbols | \
// RUN: FileCheck %s
// We want to test relocatable thumb function call.
Modified: llvm/trunk/test/MC/ARM/elf-thumbfunc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/elf-thumbfunc.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/elf-thumbfunc.s (original)
+++ llvm/trunk/test/MC/ARM/elf-thumbfunc.s Wed May 1 02:28:24 2019
@@ -1,6 +1,6 @@
@@ test st_value bit 0 of thumb function
@ RUN: llvm-mc %s -triple=thumbv7-linux-gnueabi -filetype=obj -o - | \
-@ RUN: llvm-readobj -t | FileCheck %s
+@ RUN: llvm-readobj --symbols | FileCheck %s
.syntax unified
.text
.globl foo
Modified: llvm/trunk/test/MC/ARM/thumb-st_other.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/thumb-st_other.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/thumb-st_other.s (original)
+++ llvm/trunk/test/MC/ARM/thumb-st_other.s Wed May 1 02:28:24 2019
@@ -4,7 +4,7 @@
@ for st_other should always be 0.
@ RUN: llvm-mc < %s -triple thumbv5-linux-gnueabi -filetype=obj -o - \
-@ RUN: | llvm-readobj -t | FileCheck %s
+@ RUN: | llvm-readobj --symbols | FileCheck %s
.syntax unified
.text
Modified: llvm/trunk/test/MC/ARM/thumb-types.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/thumb-types.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/thumb-types.s (original)
+++ llvm/trunk/test/MC/ARM/thumb-types.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-@ RUN: llvm-mc -triple armv7-elf -filetype obj -o - %s | llvm-readobj -t \
+@ RUN: llvm-mc -triple armv7-elf -filetype obj -o - %s | llvm-readobj --symbols \
@ RUN: | FileCheck %s
.syntax unified
Modified: llvm/trunk/test/MC/ARM/thumb_set.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/thumb_set.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/thumb_set.s (original)
+++ llvm/trunk/test/MC/ARM/thumb_set.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s | llvm-readobj -t \
+@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s | llvm-readobj --symbols \
@ RUN: | FileCheck %s
@ RUN: llvm-mc -triple armv7-eabi -filetype asm -o - %s \
Modified: llvm/trunk/test/MC/AsmParser/directive_end-2.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/directive_end-2.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/AsmParser/directive_end-2.s (original)
+++ llvm/trunk/test/MC/AsmParser/directive_end-2.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
# RUN: llvm-mc -triple i386-unknown-unknown %s -I %p -filetype obj -o - \
-# RUN: | llvm-readobj -t | FileCheck %s
+# RUN: | llvm-readobj --symbols | FileCheck %s
rock:
movl $42, %eax
Modified: llvm/trunk/test/MC/AsmParser/directive_end.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/directive_end.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/AsmParser/directive_end.s (original)
+++ llvm/trunk/test/MC/AsmParser/directive_end.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
# RUN: llvm-mc -triple i386-unknown-unknown %s -filetype obj -o - \
-# RUN: | llvm-readobj -t | FileCheck %s
+# RUN: | llvm-readobj --symbols | FileCheck %s
.end
Modified: llvm/trunk/test/MC/COFF/addrsig.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/addrsig.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/addrsig.s (original)
+++ llvm/trunk/test/MC/COFF/addrsig.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s -o - | llvm-readobj -S -t --sd --addrsig | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s -o - | llvm-readobj -S --symbols --sd --addrsig | FileCheck %s
// CHECK: Name: .llvm_addrsig
// CHECK-NEXT: VirtualSize: 0x0
Modified: llvm/trunk/test/MC/COFF/alias.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/alias.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/alias.s (original)
+++ llvm/trunk/test/MC/COFF/alias.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - \
-// RUN: | llvm-readobj -t -r | FileCheck %s
+// RUN: | llvm-readobj --symbols -r | FileCheck %s
local1:
external_aliased_to_local = local1
Modified: llvm/trunk/test/MC/COFF/basic-coff-64.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/basic-coff-64.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/basic-coff-64.s (original)
+++ llvm/trunk/test/MC/COFF/basic-coff-64.s Wed May 1 02:28:24 2019
@@ -1,7 +1,7 @@
// This test checks that the COFF object emitter works for the most basic
// programs.
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s | llvm-readobj -h -S --sr --sd -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s | llvm-readobj -h -S --sr --sd --symbols | FileCheck %s
.def _main;
.scl 2;
Modified: llvm/trunk/test/MC/COFF/basic-coff.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/basic-coff.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/basic-coff.s (original)
+++ llvm/trunk/test/MC/COFF/basic-coff.s Wed May 1 02:28:24 2019
@@ -1,7 +1,7 @@
// This test checks that the COFF object emitter works for the most basic
// programs.
-// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -h -S --sr --sd -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -h -S --sr --sd --symbols | FileCheck %s
.def _main;
.scl 2;
Modified: llvm/trunk/test/MC/COFF/comm.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/comm.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/comm.s (original)
+++ llvm/trunk/test/MC/COFF/comm.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj --symbols | FileCheck %s
.lcomm _a,4,4
.comm _b, 4, 2
Modified: llvm/trunk/test/MC/COFF/early-dce.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/early-dce.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/early-dce.s (original)
+++ llvm/trunk/test/MC/COFF/early-dce.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
# RUN: llvm-mc -triple i686-windows -g -filetype obj -o - %s \
-# RUN: | llvm-readobj -S -t | FileCheck %s
+# RUN: | llvm-readobj -S --symbols | FileCheck %s
.section .rdata
Modified: llvm/trunk/test/MC/COFF/feat00.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/feat00.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/feat00.s (original)
+++ llvm/trunk/test/MC/COFF/feat00.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | llvm-readobj --symbols | FileCheck %s
"@feat.00" = 123
.globl @feat.00
Modified: llvm/trunk/test/MC/COFF/linkonce.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/linkonce.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/linkonce.s (original)
+++ llvm/trunk/test/MC/COFF/linkonce.s Wed May 1 02:28:24 2019
@@ -1,7 +1,7 @@
// Test section manipulation via .linkonce directive.
//
-// RUN: llvm-mc -triple i386-pc-win32 -filetype=obj %s | llvm-readobj -S -t | FileCheck %s
-// RUN: llvm-mc -triple x86_64-pc-win32 -filetype=obj %s | llvm-readobj -S -t | FileCheck %s
+// RUN: llvm-mc -triple i386-pc-win32 -filetype=obj %s | llvm-readobj -S --symbols | FileCheck %s
+// RUN: llvm-mc -triple x86_64-pc-win32 -filetype=obj %s | llvm-readobj -S --symbols | FileCheck %s
.section s1
.linkonce
Modified: llvm/trunk/test/MC/COFF/offset.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/offset.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/offset.s (original)
+++ llvm/trunk/test/MC/COFF/offset.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | llvm-readobj -t -r | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | llvm-readobj --symbols -r | FileCheck %s
.data
.globl test1_foo
Modified: llvm/trunk/test/MC/COFF/section-comdat.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/section-comdat.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/section-comdat.s (original)
+++ llvm/trunk/test/MC/COFF/section-comdat.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
-// RUN: llvm-mc -triple i386-pc-win32 -filetype=obj %s | llvm-readobj -S -t | FileCheck %s
-// RUN: llvm-mc -triple x86_64-pc-win32 -filetype=obj %s | llvm-readobj -S -t | FileCheck %s
+// RUN: llvm-mc -triple i386-pc-win32 -filetype=obj %s | llvm-readobj -S --symbols | FileCheck %s
+// RUN: llvm-mc -triple x86_64-pc-win32 -filetype=obj %s | llvm-readobj -S --symbols | FileCheck %s
.section assocSec, "dr", discard, "assocSym"
.global assocSym
Modified: llvm/trunk/test/MC/COFF/symbol-alias.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/symbol-alias.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/symbol-alias.s (original)
+++ llvm/trunk/test/MC/COFF/symbol-alias.s Wed May 1 02:28:24 2019
@@ -2,8 +2,8 @@
// (@foo: alias <type> @bar) generate the correct entries in the symbol table.
// They should be identical except for the name.
-// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -t | FileCheck %s
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj --symbols | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s | llvm-readobj --symbols | FileCheck %s
.def _foo;
.scl 2;
Modified: llvm/trunk/test/MC/COFF/symbol-fragment-offset-64.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/symbol-fragment-offset-64.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/symbol-fragment-offset-64.s (original)
+++ llvm/trunk/test/MC/COFF/symbol-fragment-offset-64.s Wed May 1 02:28:24 2019
@@ -1,7 +1,7 @@
// The purpose of this test is to see if the COFF object writer is emitting the
// proper relocations for multiple pieces of data in a single data fragment.
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s | llvm-readobj -h -S --sr --sd -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s | llvm-readobj -h -S --sr --sd --symbols | FileCheck %s
.def _main;
.scl 2;
Modified: llvm/trunk/test/MC/COFF/symbol-fragment-offset.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/symbol-fragment-offset.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/symbol-fragment-offset.s (original)
+++ llvm/trunk/test/MC/COFF/symbol-fragment-offset.s Wed May 1 02:28:24 2019
@@ -1,7 +1,7 @@
// The purpose of this test is to see if the COFF object writer is emitting the
// proper relocations for multiple pieces of data in a single data fragment.
-// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -h -S --sr --sd -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -h -S --sr --sd --symbols | FileCheck %s
.def _main;
.scl 2;
Modified: llvm/trunk/test/MC/COFF/tricky-names.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/tricky-names.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/tricky-names.ll (original)
+++ llvm/trunk/test/MC/COFF/tricky-names.ll Wed May 1 02:28:24 2019
@@ -4,8 +4,8 @@
; Check that we can roundtrip these names through our assembler,
; in both at&t and intel syntax.
-; RUN: llc -mtriple=i686-pc-win32 %s -o - | llvm-mc -triple i686-pc-win32 -filetype=obj | llvm-readobj -t | FileCheck %s --check-prefix=READOBJ
-; RUN: llc -mtriple=i686-pc-win32 -x86-asm-syntax=intel %s -o - | llvm-mc -triple i686-pc-win32 -filetype=obj | llvm-readobj -t | FileCheck %s --check-prefix=READOBJ
+; RUN: llc -mtriple=i686-pc-win32 %s -o - | llvm-mc -triple i686-pc-win32 -filetype=obj | llvm-readobj --symbols | FileCheck %s --check-prefix=READOBJ
+; RUN: llc -mtriple=i686-pc-win32 -x86-asm-syntax=intel %s -o - | llvm-mc -triple i686-pc-win32 -filetype=obj | llvm-readobj --symbols | FileCheck %s --check-prefix=READOBJ
@"\01??__E_Generic_object@?$_Error_objects at H@std@@YAXXZ" = global i32 0
Modified: llvm/trunk/test/MC/COFF/weak-alias-local.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/weak-alias-local.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/weak-alias-local.s (original)
+++ llvm/trunk/test/MC/COFF/weak-alias-local.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s -o %t.o
-// RUN: llvm-readobj -t %t.o | FileCheck %s
+// RUN: llvm-readobj --symbols %t.o | FileCheck %s
// test that we create an external symbol for a to point to.
Modified: llvm/trunk/test/MC/COFF/weak-val.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/weak-val.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/weak-val.s (original)
+++ llvm/trunk/test/MC/COFF/weak-val.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s -o %t.o
-// RUN: llvm-readobj -t %t.o | FileCheck %s
+// RUN: llvm-readobj --symbols %t.o | FileCheck %s
// test that b and .weak.b have the correct values.
Modified: llvm/trunk/test/MC/COFF/weak.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/weak.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/weak.s (original)
+++ llvm/trunk/test/MC/COFF/weak.s Wed May 1 02:28:24 2019
@@ -1,8 +1,8 @@
// This tests that default-null weak symbols (a GNU extension) are created
// properly via the .weak directive.
-// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -t | FileCheck %s
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj --symbols | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s | llvm-readobj --symbols | FileCheck %s
.def _main;
.scl 2;
Modified: llvm/trunk/test/MC/ELF/ARM/clang-section.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/ARM/clang-section.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/ARM/clang-section.s (original)
+++ llvm/trunk/test/MC/ELF/ARM/clang-section.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple arm-eabi %s -o - | llvm-readobj -S -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple arm-eabi %s -o - | llvm-readobj -S --symbols | FileCheck %s
// Test that global variables and functions are assigned correct section.
.text
.syntax unified
Modified: llvm/trunk/test/MC/ELF/ARM/execute-only-populated-text-section.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/ARM/execute-only-populated-text-section.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/ARM/execute-only-populated-text-section.s (original)
+++ llvm/trunk/test/MC/ELF/ARM/execute-only-populated-text-section.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
// RUN: llvm-mc -filetype=obj -triple thumbv7m-arm-linux-gnu %s -o - \
-// RUN: | llvm-readobj -S -t | FileCheck %s
+// RUN: | llvm-readobj -S --symbols | FileCheck %s
.text
bx lr
Modified: llvm/trunk/test/MC/ELF/ARM/execute-only-section.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/ARM/execute-only-section.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/ARM/execute-only-section.s (original)
+++ llvm/trunk/test/MC/ELF/ARM/execute-only-section.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
// RUN: llvm-mc -filetype=obj -triple thumbv7m-arm-linux-gnu %s -o - \
-// RUN: | llvm-readobj -S -t | FileCheck %s
+// RUN: | llvm-readobj -S --symbols | FileCheck %s
.section .text,"axy",%progbits,unique,0
.globl foo
Modified: llvm/trunk/test/MC/ELF/ARM/execute-only-text-section-data.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/ARM/execute-only-text-section-data.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/ARM/execute-only-text-section-data.s (original)
+++ llvm/trunk/test/MC/ELF/ARM/execute-only-text-section-data.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
// RUN: llvm-mc -filetype=obj -triple thumbv7m-arm-linux-gnu %s -o - \
-// RUN: | llvm-readobj -S -t | FileCheck %s
+// RUN: | llvm-readobj -S --symbols | FileCheck %s
.text
.ascii "test"
Modified: llvm/trunk/test/MC/ELF/abs.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/abs.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/abs.s (original)
+++ llvm/trunk/test/MC/ELF/abs.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
// Test that zed will be an ABS symbol
Modified: llvm/trunk/test/MC/ELF/addrsig.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/addrsig.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/addrsig.s (original)
+++ llvm/trunk/test/MC/ELF/addrsig.s Wed May 1 02:28:24 2019
@@ -1,6 +1,6 @@
// RUN: llvm-mc -filetype=asm -triple x86_64-pc-linux-gnu %s -o - | FileCheck --check-prefix=ASM %s
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S -t --sd --addrsig | FileCheck %s
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -split-dwarf-file %t.dwo -o - | llvm-readobj -S -t --sd --addrsig | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S --symbols --sd --addrsig | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -split-dwarf-file %t.dwo -o - | llvm-readobj -S --symbols --sd --addrsig | FileCheck %s
// RUN: llvm-readobj -S %t.dwo | FileCheck --check-prefix=DWO %s
// CHECK: Name: .llvm_addrsig
Modified: llvm/trunk/test/MC/ELF/alias-reloc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/alias-reloc.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/alias-reloc.s (original)
+++ llvm/trunk/test/MC/ELF/alias-reloc.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r --symbols | FileCheck %s
// Test that this produces a R_X86_64_PLT32 with bar.
Modified: llvm/trunk/test/MC/ELF/alias.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/alias.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/alias.s (original)
+++ llvm/trunk/test/MC/ELF/alias.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
foo:
bar = foo
Modified: llvm/trunk/test/MC/ELF/basic-elf-32.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/basic-elf-32.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/basic-elf-32.s (original)
+++ llvm/trunk/test/MC/ELF/basic-elf-32.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu %s -o - | llvm-readobj -h -S -r -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu %s -o - | llvm-readobj -h -S -r --symbols | FileCheck %s
.text
.globl main
Modified: llvm/trunk/test/MC/ELF/basic-elf-64.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/basic-elf-64.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/basic-elf-64.s (original)
+++ llvm/trunk/test/MC/ELF/basic-elf-64.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -h -S -r -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -h -S -r --symbols | FileCheck %s
.text
.globl main
Modified: llvm/trunk/test/MC/ELF/cgprofile.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/cgprofile.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/cgprofile.s (original)
+++ llvm/trunk/test/MC/ELF/cgprofile.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S -t --sd --elf-cg-profile | FileCheck %s
+# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S --symbols --sd --elf-cg-profile | FileCheck %s
.section .test,"aw", at progbits
a: .word b
Modified: llvm/trunk/test/MC/ELF/comdat-dup-group-name.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/comdat-dup-group-name.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/comdat-dup-group-name.s (original)
+++ llvm/trunk/test/MC/ELF/comdat-dup-group-name.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S --symbols | FileCheck %s
// Test that we produce two foo sections, each in separate groups
Modified: llvm/trunk/test/MC/ELF/comdat.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/comdat.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/comdat.s (original)
+++ llvm/trunk/test/MC/ELF/comdat.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S -t --sd | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S --symbols --sd | FileCheck %s
// Test that we produce the group sections and that they are before the members
Modified: llvm/trunk/test/MC/ELF/common.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/common.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/common.s (original)
+++ llvm/trunk/test/MC/ELF/common.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
.text
Modified: llvm/trunk/test/MC/ELF/file-double.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/file-double.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/file-double.s (original)
+++ llvm/trunk/test/MC/ELF/file-double.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
// Test that a STT_FILE symbol and a symbol of the same name can coexist.
Modified: llvm/trunk/test/MC/ELF/file.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/file.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/file.s (original)
+++ llvm/trunk/test/MC/ELF/file.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
// Test that the STT_FILE symbol precedes the other local symbols.
Modified: llvm/trunk/test/MC/ELF/got.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/got.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/got.s (original)
+++ llvm/trunk/test/MC/ELF/got.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r --symbols | FileCheck %s
// Test that this produces the correct relocations R_X86_64_GOT32 and that we,
// unlike gas, don't create a _GLOBAL_OFFSET_TABLE_ symbol as a side effect.
Modified: llvm/trunk/test/MC/ELF/lcomm.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/lcomm.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/lcomm.s (original)
+++ llvm/trunk/test/MC/ELF/lcomm.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-pc-linux-gnu %s -filetype=obj -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -triple i386-pc-linux-gnu %s -filetype=obj -o - | llvm-readobj --symbols | FileCheck %s
.lcomm A, 5
.lcomm B, 32 << 20
Modified: llvm/trunk/test/MC/ELF/local-reloc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/local-reloc.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/local-reloc.s (original)
+++ llvm/trunk/test/MC/ELF/local-reloc.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S -r -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S -r --symbols | FileCheck %s
// Test that relocations with local symbols are represented as relocations
// with the section. They should be equivalent, but gas behaves like this.
Modified: llvm/trunk/test/MC/ELF/many-sections-2.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/many-sections-2.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/many-sections-2.s (original)
+++ llvm/trunk/test/MC/ELF/many-sections-2.s Wed May 1 02:28:24 2019
@@ -1,6 +1,6 @@
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t
// RUN: llvm-readobj -S %t | FileCheck --check-prefix=SECTIONS %s
-// RUN: llvm-readobj -t %t | FileCheck --check-prefix=SYMBOLS %s
+// RUN: llvm-readobj --symbols %t | FileCheck --check-prefix=SYMBOLS %s
// Test that we create a .symtab_shndx if a symbol points to a section
// numbered SHN_LORESERVE (0xFF00) or higher.
Modified: llvm/trunk/test/MC/ELF/many-sections-3.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/many-sections-3.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/many-sections-3.s (original)
+++ llvm/trunk/test/MC/ELF/many-sections-3.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t
-// RUN: llvm-readobj -t %t | FileCheck --check-prefix=SYMBOLS %s
+// RUN: llvm-readobj --symbols %t | FileCheck --check-prefix=SYMBOLS %s
// RUN: llvm-nm %t | FileCheck --check-prefix=NM %s
// Test that symbol a has a section that could be confused with common (0xFFF2)
Modified: llvm/trunk/test/MC/ELF/many-sections.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/many-sections.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/many-sections.s (original)
+++ llvm/trunk/test/MC/ELF/many-sections.s Wed May 1 02:28:24 2019
@@ -1,6 +1,6 @@
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t
// RUN: llvm-readobj -S %t | FileCheck --check-prefix=SECTIONS %s
-// RUN: llvm-readobj -t %t | FileCheck --check-prefix=SYMBOLS %s
+// RUN: llvm-readobj --symbols %t | FileCheck --check-prefix=SYMBOLS %s
// Test that we don't create a .symtab_shndx since we are one section short of
// SHN_LORESERVE (0xFF00).
Modified: llvm/trunk/test/MC/ELF/offset.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/offset.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/offset.s (original)
+++ llvm/trunk/test/MC/ELF/offset.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t - | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols - | FileCheck %s
// Test that a variable declared with "var = other_var + cst" is in the same
// section as other_var and its value is the value of other_var + cst.
Modified: llvm/trunk/test/MC/ELF/pic-diff.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/pic-diff.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/pic-diff.s (original)
+++ llvm/trunk/test/MC/ELF/pic-diff.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r --symbols | FileCheck %s
// CHECK: Relocations [
// CHECK-NEXT: Section ({{[^ ]+}}) {{[^ ]+}} {
Modified: llvm/trunk/test/MC/ELF/pr9292.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/pr9292.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/pr9292.s (original)
+++ llvm/trunk/test/MC/ELF/pr9292.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
// Test that both foo and bar are undefined.
Modified: llvm/trunk/test/MC/ELF/relax.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/relax.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/relax.s (original)
+++ llvm/trunk/test/MC/ELF/relax.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S --sd -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S --sd --symbols | FileCheck %s
// Test that we do not relax these.
Modified: llvm/trunk/test/MC/ELF/rename.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/rename.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/rename.s (original)
+++ llvm/trunk/test/MC/ELF/rename.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S --sr -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S --sr --symbols | FileCheck %s
// When doing a rename, all the checks for where the relocation should go
// should be performed with the original symbol. Only if we decide to relocate
Modified: llvm/trunk/test/MC/ELF/section-numeric-flag.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/section-numeric-flag.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/section-numeric-flag.s (original)
+++ llvm/trunk/test/MC/ELF/section-numeric-flag.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux-gnu %s -o - \
-// RUN: | llvm-readobj -S -t | FileCheck %s
+// RUN: | llvm-readobj -S --symbols | FileCheck %s
.section .text, "0x806", %progbits, unique, 0
.section .comment, "0x21"
Modified: llvm/trunk/test/MC/ELF/section-numeric-invalid-type.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/section-numeric-invalid-type.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/section-numeric-invalid-type.s (original)
+++ llvm/trunk/test/MC/ELF/section-numeric-invalid-type.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux-gnu %s -o - \
-// RUN: | llvm-readobj -S -t | FileCheck --check-prefix=OBJ %s
+// RUN: | llvm-readobj -S --symbols | FileCheck --check-prefix=OBJ %s
// RUN: not llvm-mc -filetype=asm -triple=x86_64-pc-linux-gnu %s -o - 2>&1 \
// RUN: | FileCheck --check-prefix=ASM %s
Modified: llvm/trunk/test/MC/ELF/section-numeric-type.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/section-numeric-type.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/section-numeric-type.s (original)
+++ llvm/trunk/test/MC/ELF/section-numeric-type.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux-gnu %s -o - \
-// RUN: | llvm-readobj -S -t | FileCheck --check-prefix=OBJ %s
+// RUN: | llvm-readobj -S --symbols | FileCheck --check-prefix=OBJ %s
// RUN: llvm-mc -filetype=asm -triple=x86_64-pc-linux-gnu %s -o - \
// RUN: | FileCheck --check-prefix=ASM %s
Modified: llvm/trunk/test/MC/ELF/section-sym.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/section-sym.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/section-sym.s (original)
+++ llvm/trunk/test/MC/ELF/section-sym.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S -t -r --expand-relocs | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S --symbols -r --expand-relocs | FileCheck %s
.section foo, "aG", @progbits, f1, comdat
.section foo, "G", @progbits, f2, comdat
Modified: llvm/trunk/test/MC/ELF/section-sym2.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/section-sym2.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/section-sym2.s (original)
+++ llvm/trunk/test/MC/ELF/section-sym2.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t -r --expand-relocs | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols -r --expand-relocs | FileCheck %s
// Test that we can forward reference a section.
Modified: llvm/trunk/test/MC/ELF/section-unique.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/section-unique.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/section-unique.s (original)
+++ llvm/trunk/test/MC/ELF/section-unique.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
// RUN: llvm-mc -triple x86_64-pc-linux-gnu %s -o - | FileCheck %s
-// RUN: llvm-mc -triple x86_64-pc-linux-gnu %s -filetype=obj -o - | llvm-readobj -t | FileCheck %s --check-prefix=OBJ
+// RUN: llvm-mc -triple x86_64-pc-linux-gnu %s -filetype=obj -o - | llvm-readobj --symbols | FileCheck %s --check-prefix=OBJ
.section .text,"ax", at progbits,unique, 4294967293
.globl f
Modified: llvm/trunk/test/MC/ELF/set.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/set.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/set.s (original)
+++ llvm/trunk/test/MC/ELF/set.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
// Test that we emit the correct value.
Modified: llvm/trunk/test/MC/ELF/size.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/size.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/size.s (original)
+++ llvm/trunk/test/MC/ELF/size.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux < %s | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux < %s | llvm-readobj --symbols | FileCheck %s
foo:
bar = .
Modified: llvm/trunk/test/MC/ELF/symbol-names.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/symbol-names.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/symbol-names.s (original)
+++ llvm/trunk/test/MC/ELF/symbol-names.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i686-pc-linux -filetype=obj %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -triple i686-pc-linux -filetype=obj %s -o - | llvm-readobj --symbols | FileCheck %s
// MC allows ?'s in symbol names as an extension.
Modified: llvm/trunk/test/MC/ELF/symver-msvc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/symver-msvc.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/symver-msvc.s (original)
+++ llvm/trunk/test/MC/ELF/symver-msvc.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-windows-elf %s -o - | llvm-readobj -r -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-windows-elf %s -o - | llvm-readobj -r --symbols | FileCheck %s
// Verify that MSVC C++ mangled symbols are not affected by the ELF
// GNU-style symbol versioning. The ELF format is used on Windows by
Modified: llvm/trunk/test/MC/ELF/symver-pr23914.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/symver-pr23914.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/symver-pr23914.s (original)
+++ llvm/trunk/test/MC/ELF/symver-pr23914.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
// Regression test for PR23914.
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r --symbols | FileCheck %s
defined:
.symver defined, aaaaaaaaaaaaaaaaaa@@@AAAAAAAAAAAAA
Modified: llvm/trunk/test/MC/ELF/symver.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/symver.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/symver.s (original)
+++ llvm/trunk/test/MC/ELF/symver.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r --symbols | FileCheck %s
defined1:
defined2:
Modified: llvm/trunk/test/MC/ELF/tls-i386.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/tls-i386.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/tls-i386.s (original)
+++ llvm/trunk/test/MC/ELF/tls-i386.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple i386-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple i386-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
// Test that all symbols are of type STT_TLS.
Modified: llvm/trunk/test/MC/ELF/tls.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/tls.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/tls.s (original)
+++ llvm/trunk/test/MC/ELF/tls.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
// Test that all symbols are of type STT_TLS.
Modified: llvm/trunk/test/MC/ELF/type-propagate.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/type-propagate.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/type-propagate.s (original)
+++ llvm/trunk/test/MC/ELF/type-propagate.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t - | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols - | FileCheck %s
// This tests that types are propagated from symbols to their aliases. Our
// behavior is a bit different than gas. If the type of a symbol changes,
Modified: llvm/trunk/test/MC/ELF/type.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/type.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/type.s (original)
+++ llvm/trunk/test/MC/ELF/type.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
// Test that both % and @ are accepted.
.global foo
Modified: llvm/trunk/test/MC/ELF/undef.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/undef.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/undef.s (original)
+++ llvm/trunk/test/MC/ELF/undef.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
// Test which symbols should be in the symbol table
Modified: llvm/trunk/test/MC/ELF/weak.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/weak.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/weak.s (original)
+++ llvm/trunk/test/MC/ELF/weak.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
// Test that this produces a weak undefined symbol.
Modified: llvm/trunk/test/MC/ELF/weakref-plt.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/weakref-plt.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/weakref-plt.s (original)
+++ llvm/trunk/test/MC/ELF/weakref-plt.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
.weakref bar,foo
call bar at PLT
Modified: llvm/trunk/test/MC/ELF/weakref-reloc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/weakref-reloc.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/weakref-reloc.s (original)
+++ llvm/trunk/test/MC/ELF/weakref-reloc.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r --symbols | FileCheck %s
// Test that the relocations point to the correct symbols.
Modified: llvm/trunk/test/MC/ELF/weakref.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/weakref.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/weakref.s (original)
+++ llvm/trunk/test/MC/ELF/weakref.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
// This is a long test that checks that the aliases created by weakref are
// never in the symbol table and that the only case it causes a symbol to
Modified: llvm/trunk/test/MC/MSP430/refsym.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MSP430/refsym.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MSP430/refsym.s (original)
+++ llvm/trunk/test/MC/MSP430/refsym.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-# RUN: llvm-mc -filetype=obj -triple=msp430 %s | llvm-readobj -t - | FileCheck %s
+# RUN: llvm-mc -filetype=obj -triple=msp430 %s | llvm-readobj --symbols - | FileCheck %s
foo:
.refsym __hook
Modified: llvm/trunk/test/MC/MachO/ARM/darwin-ARM-reloc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/ARM/darwin-ARM-reloc.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/ARM/darwin-ARM-reloc.s (original)
+++ llvm/trunk/test/MC/MachO/ARM/darwin-ARM-reloc.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
@ RUN: llvm-mc -n -triple armv7-apple-darwin10 %s -filetype=obj -o %t.obj
-@ RUN: llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols < %t.obj > %t.dump
+@ RUN: llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols < %t.obj > %t.dump
@ RUN: FileCheck < %t.dump %s
.syntax unified
Modified: llvm/trunk/test/MC/MachO/ARM/darwin-Thumb-reloc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/ARM/darwin-Thumb-reloc.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/ARM/darwin-Thumb-reloc.s (original)
+++ llvm/trunk/test/MC/MachO/ARM/darwin-Thumb-reloc.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
@ RUN: llvm-mc -n -triple thumbv7-apple-darwin10 %s -filetype=obj -o %t.obj
-@ RUN: llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols < %t.obj > %t.dump
+@ RUN: llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols < %t.obj > %t.dump
@ RUN: FileCheck < %t.dump %s
.syntax unified
Modified: llvm/trunk/test/MC/MachO/absolute.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/absolute.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/absolute.s (original)
+++ llvm/trunk/test/MC/MachO/absolute.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
_bar:
nop
Modified: llvm/trunk/test/MC/MachO/absolutize.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/absolutize.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/absolutize.s (original)
+++ llvm/trunk/test/MC/MachO/absolutize.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
_text_a:
xorl %eax,%eax
Modified: llvm/trunk/test/MC/MachO/altentry.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/altentry.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/altentry.s (original)
+++ llvm/trunk/test/MC/MachO/altentry.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin -filetype=obj %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin -filetype=obj %s -o - | llvm-readobj --symbols | FileCheck %s
// CHECK: Symbol {
// CHECK: Name: _foo
Modified: llvm/trunk/test/MC/MachO/comm-1.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/comm-1.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/comm-1.s (original)
+++ llvm/trunk/test/MC/MachO/comm-1.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.comm sym_comm_B, 2
.comm sym_comm_A, 4
Modified: llvm/trunk/test/MC/MachO/darwin-complex-difference.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/darwin-complex-difference.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/darwin-complex-difference.s (original)
+++ llvm/trunk/test/MC/MachO/darwin-complex-difference.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o %t.o
-// RUN: llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols < %t.o > %t.dump
+// RUN: llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols < %t.o > %t.dump
// RUN: FileCheck < %t.dump %s
_a:
Modified: llvm/trunk/test/MC/MachO/darwin-x86_64-diff-relocs.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/darwin-x86_64-diff-relocs.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/darwin-x86_64-diff-relocs.s (original)
+++ llvm/trunk/test/MC/MachO/darwin-x86_64-diff-relocs.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.text
Modified: llvm/trunk/test/MC/MachO/darwin-x86_64-reloc-offsets.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/darwin-x86_64-reloc-offsets.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/darwin-x86_64-reloc-offsets.s (original)
+++ llvm/trunk/test/MC/MachO/darwin-x86_64-reloc-offsets.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.data
Modified: llvm/trunk/test/MC/MachO/direction_labels.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/direction_labels.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/direction_labels.s (original)
+++ llvm/trunk/test/MC/MachO/direction_labels.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
direction_labels:
10: nop
Modified: llvm/trunk/test/MC/MachO/indirect-symbols.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/indirect-symbols.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/indirect-symbols.s (original)
+++ llvm/trunk/test/MC/MachO/indirect-symbols.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
_b:
_c = 0
Modified: llvm/trunk/test/MC/MachO/lcomm-attributes.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/lcomm-attributes.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/lcomm-attributes.s (original)
+++ llvm/trunk/test/MC/MachO/lcomm-attributes.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
// Note, this test intentionally mismatches Darwin 'as', which loses the
// following global marker.
Modified: llvm/trunk/test/MC/MachO/pcrel-to-other-section.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/pcrel-to-other-section.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/pcrel-to-other-section.s (original)
+++ llvm/trunk/test/MC/MachO/pcrel-to-other-section.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
nop
.section __TEXT,__StaticInit,regular,pure_instructions
Modified: llvm/trunk/test/MC/MachO/section-align-1.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/section-align-1.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/section-align-1.s (original)
+++ llvm/trunk/test/MC/MachO/section-align-1.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -t --file-headers -S --macho-indirect-symbols --macho-dysymtab --macho-segment | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --symbols --file-headers -S --macho-indirect-symbols --macho-dysymtab --macho-segment | FileCheck %s
name:
.byte 0
Modified: llvm/trunk/test/MC/MachO/section-align-2.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/section-align-2.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/section-align-2.s (original)
+++ llvm/trunk/test/MC/MachO/section-align-2.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.byte 0
Modified: llvm/trunk/test/MC/MachO/string-table.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/string-table.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/string-table.s (original)
+++ llvm/trunk/test/MC/MachO/string-table.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
movl $a, b
Modified: llvm/trunk/test/MC/MachO/symbol-diff.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/symbol-diff.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/symbol-diff.s (original)
+++ llvm/trunk/test/MC/MachO/symbol-diff.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
_g:
LFB2:
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
Modified: llvm/trunk/test/MC/MachO/symbol-flags.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/symbol-flags.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/symbol-flags.s (original)
+++ llvm/trunk/test/MC/MachO/symbol-flags.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.reference sym_ref_A
.reference sym_ref_def_A
Modified: llvm/trunk/test/MC/MachO/symbol-indirect.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/symbol-indirect.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/symbol-indirect.s (original)
+++ llvm/trunk/test/MC/MachO/symbol-indirect.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
// FIXME: We are missing a lot of diagnostics on this kind of stuff which the
// assembler has.
Modified: llvm/trunk/test/MC/MachO/symbols-1.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/symbols-1.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/symbols-1.s (original)
+++ llvm/trunk/test/MC/MachO/symbols-1.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck -check-prefix CHECK-X86_32 %s
-// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck -check-prefix CHECK-X86_64 %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck -check-prefix CHECK-X86_32 %s
+// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck -check-prefix CHECK-X86_64 %s
sym_local_B:
.globl sym_globl_def_B
Modified: llvm/trunk/test/MC/MachO/tbss.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/tbss.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/tbss.s (original)
+++ llvm/trunk/test/MC/MachO/tbss.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.tbss _a$tlv$init, 4
.tbss _b$tlv$init, 4, 3
Modified: llvm/trunk/test/MC/MachO/tdata.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/tdata.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/tdata.s (original)
+++ llvm/trunk/test/MC/MachO/tdata.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.tdata
_a$tlv$init:
.long 4
Modified: llvm/trunk/test/MC/MachO/temp-labels.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/temp-labels.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/temp-labels.s (original)
+++ llvm/trunk/test/MC/MachO/temp-labels.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -save-temp-labels -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -save-temp-labels -o - | llvm-readobj --symbols | FileCheck %s
_f0:
.long 0
Modified: llvm/trunk/test/MC/MachO/tls.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/tls.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/tls.s (original)
+++ llvm/trunk/test/MC/MachO/tls.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.section __TEXT,__text,regular,pure_instructions
.section __DATA,__thread_data,thread_local_regular
Modified: llvm/trunk/test/MC/MachO/tlv-reloc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/tlv-reloc.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/tlv-reloc.s (original)
+++ llvm/trunk/test/MC/MachO/tlv-reloc.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.tdata
_a$tlv$init:
Modified: llvm/trunk/test/MC/MachO/tlv.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/tlv.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/tlv.s (original)
+++ llvm/trunk/test/MC/MachO/tlv.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.tlv
.globl _a
Modified: llvm/trunk/test/MC/MachO/values.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/values.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/values.s (original)
+++ llvm/trunk/test/MC/MachO/values.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.long 0
text_def_int:
Modified: llvm/trunk/test/MC/MachO/variable-exprs.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/variable-exprs.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/variable-exprs.s (original)
+++ llvm/trunk/test/MC/MachO/variable-exprs.s Wed May 1 02:28:24 2019
@@ -1,9 +1,9 @@
// RUN: llvm-mc -triple i386-apple-darwin10 %s -filetype=obj -o %t.o
-// RUN: llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols < %t.o > %t.dump
+// RUN: llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols < %t.o > %t.dump
// RUN: FileCheck --check-prefix=CHECK-I386 < %t.dump %s
// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o %t.o
-// RUN: llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols < %t.o > %t.dump
+// RUN: llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols < %t.o > %t.dump
// RUN: FileCheck --check-prefix=CHECK-X86_64 < %t.dump %s
.data
Modified: llvm/trunk/test/MC/MachO/weakdef.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/weakdef.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/weakdef.s (original)
+++ llvm/trunk/test/MC/MachO/weakdef.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.section __DATA,__datacoal_nt,coalesced
.section __TEXT,__const_coal,coalesced
Modified: llvm/trunk/test/MC/MachO/x86_32-optimal_nop.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/x86_32-optimal_nop.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/x86_32-optimal_nop.s (original)
+++ llvm/trunk/test/MC/MachO/x86_32-optimal_nop.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 -mcpu=pentiumpro %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 -mcpu=pentiumpro %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
# 1 byte nop test
.align 4, 0 # start with 16 byte alignment filled with zeros
Modified: llvm/trunk/test/MC/MachO/x86_32-symbols.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/x86_32-symbols.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/x86_32-symbols.s (original)
+++ llvm/trunk/test/MC/MachO/x86_32-symbols.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.text
L0:
Modified: llvm/trunk/test/MC/MachO/x86_64-reloc-arithmetic.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/x86_64-reloc-arithmetic.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/x86_64-reloc-arithmetic.s (original)
+++ llvm/trunk/test/MC/MachO/x86_64-reloc-arithmetic.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r -t | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r --symbols | FileCheck %s
// rdar://9906375
.org 0x100
Modified: llvm/trunk/test/MC/MachO/x86_64-symbols.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/x86_64-symbols.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/x86_64-symbols.s (original)
+++ llvm/trunk/test/MC/MachO/x86_64-symbols.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj --symbols | FileCheck %s
.text
L0:
Modified: llvm/trunk/test/MC/MachO/zero-space.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/zero-space.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/zero-space.s (original)
+++ llvm/trunk/test/MC/MachO/zero-space.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.const
.p2align 6
Modified: llvm/trunk/test/MC/MachO/zerofill-1.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/zerofill-1.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/zerofill-1.s (original)
+++ llvm/trunk/test/MC/MachO/zerofill-1.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.text
.byte 0 // Align to 2**3 bytes, not 2**1
Modified: llvm/trunk/test/MC/MachO/zerofill-2.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/zerofill-2.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/zerofill-2.s (original)
+++ llvm/trunk/test/MC/MachO/zerofill-2.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.byte 0
Modified: llvm/trunk/test/MC/MachO/zerofill-3.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/zerofill-3.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/zerofill-3.s (original)
+++ llvm/trunk/test/MC/MachO/zerofill-3.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
// FIXME: We don't get the order right currently, the assembler first
// orders the symbols, then assigns addresses. :(
Modified: llvm/trunk/test/MC/MachO/zerofill-4.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/zerofill-4.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/zerofill-4.s (original)
+++ llvm/trunk/test/MC/MachO/zerofill-4.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --symbols | FileCheck %s
.zerofill __DATA,__bss,_fill0,1,0
.zerofill __DATA,__bss,_a,4,2
Modified: llvm/trunk/test/MC/MachO/zerofill-5.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/zerofill-5.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/zerofill-5.s (original)
+++ llvm/trunk/test/MC/MachO/zerofill-5.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r -t --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --symbols --macho-segment --macho-dysymtab --macho-indirect-symbols | FileCheck %s
.text
.align 3
Modified: llvm/trunk/test/MC/MachO/zerofill-sect-align.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/zerofill-sect-align.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/zerofill-sect-align.s (original)
+++ llvm/trunk/test/MC/MachO/zerofill-sect-align.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --symbols | FileCheck %s
//
// Check that the section itself is aligned.
Modified: llvm/trunk/test/MC/Mips/elf-relsym.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/elf-relsym.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/elf-relsym.s (original)
+++ llvm/trunk/test/MC/Mips/elf-relsym.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o - | llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o - | llvm-readobj --symbols | FileCheck %s
// Check that the appropriate symbols were created.
Modified: llvm/trunk/test/MC/Mips/elf_st_other.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/elf_st_other.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/elf_st_other.s (original)
+++ llvm/trunk/test/MC/Mips/elf_st_other.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o -| llvm-readobj -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o -| llvm-readobj --symbols | FileCheck %s
.globl f1
Modified: llvm/trunk/test/MC/Mips/micromips-alias.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/micromips-alias.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/micromips-alias.s (original)
+++ llvm/trunk/test/MC/Mips/micromips-alias.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o - \
-# RUN: | llvm-readobj -t | FileCheck %s
+# RUN: | llvm-readobj --symbols | FileCheck %s
# Symbol bar must be marked as micromips.
# CHECK: Name: bar
Modified: llvm/trunk/test/MC/Mips/micromips-label-test-sections.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/micromips-label-test-sections.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/micromips-label-test-sections.s (original)
+++ llvm/trunk/test/MC/Mips/micromips-label-test-sections.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 \
-# RUN: -mattr=+micromips -filetype=obj -o - | llvm-readobj -t | FileCheck %s
+# RUN: -mattr=+micromips -filetype=obj -o - | llvm-readobj --symbols | FileCheck %s
.text
.set micromips
f:
Modified: llvm/trunk/test/MC/Mips/micromips-label-test.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/micromips-label-test.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/micromips-label-test.s (original)
+++ llvm/trunk/test/MC/Mips/micromips-label-test.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 \
-# RUN: -mattr=+micromips -filetype=obj -o - | llvm-readobj -t | FileCheck %s
+# RUN: -mattr=+micromips -filetype=obj -o - | llvm-readobj --symbols | FileCheck %s
.text
.set nomicromips
f:
Modified: llvm/trunk/test/MC/PowerPC/st-other-crash.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/PowerPC/st-other-crash.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/PowerPC/st-other-crash.s (original)
+++ llvm/trunk/test/MC/PowerPC/st-other-crash.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
// RUN: llvm-mc < %s -filetype=obj -triple powerpc64le-pc-linux | \
-// RUN: llvm-readobj -t | FileCheck %s
+// RUN: llvm-readobj --symbols | FileCheck %s
// This used to crash. Make sure it produce the correct symbol.
Modified: llvm/trunk/test/MC/X86/expand-var.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/expand-var.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/MC/X86/expand-var.s (original)
+++ llvm/trunk/test/MC/X86/expand-var.s Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux < %s | llvm-readobj -r -t | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux < %s | llvm-readobj -r --symbols | FileCheck %s
// CHECK: Section {{.*}} .rela.text {
// CHECK-NEXT: 0x0 R_X86_64_32 d 0x0
Modified: llvm/trunk/test/Object/ARM/nm-mapping-symbol.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/ARM/nm-mapping-symbol.s?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/Object/ARM/nm-mapping-symbol.s (original)
+++ llvm/trunk/test/Object/ARM/nm-mapping-symbol.s Wed May 1 02:28:24 2019
@@ -1,5 +1,5 @@
// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=armv7-pc-linux
-// RUN: llvm-readobj -t %t.o | FileCheck %s
+// RUN: llvm-readobj --symbols %t.o | FileCheck %s
// RUN: llvm-nm %t.o | FileCheck -allow-empty --check-prefix=NM %s
// Test that nm doesn't print the mapping symbols
Modified: llvm/trunk/test/Object/invalid.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/invalid.test?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/Object/invalid.test (original)
+++ llvm/trunk/test/Object/invalid.test Wed May 1 02:28:24 2019
@@ -37,30 +37,30 @@ SECTION-NEXT: Info:
SECTION-NEXT: AddressAlignment:
SECTION-NEXT: EntrySize: 32
-RUN: not llvm-readobj -t %p/Inputs/invalid-sh_entsize.elf 2>&1 | FileCheck --check-prefix=INVALID-SYM-SIZE %s
+RUN: not llvm-readobj --symbols %p/Inputs/invalid-sh_entsize.elf 2>&1 | FileCheck --check-prefix=INVALID-SYM-SIZE %s
INVALID-SYM-SIZE: invalid sh_entsize
RUN: not llvm-readobj --dyn-symbols %p/Inputs/invalid-sh_entsize.elf 2>&1 | FileCheck --check-prefix=INVALID-DYNSYM-SIZE %s
INVALID-DYNSYM-SIZE: Invalid entity size
-RUN: not llvm-readobj -t %p/Inputs/invalid-section-index.elf 2>&1 | FileCheck --check-prefix=INVALID-SECTION-INDEX %s
+RUN: not llvm-readobj --symbols %p/Inputs/invalid-section-index.elf 2>&1 | FileCheck --check-prefix=INVALID-SECTION-INDEX %s
INVALID-SECTION-INDEX: invalid section index
RUN: not llvm-readobj -S %p/Inputs/invalid-section-size.elf 2>&1 | FileCheck --check-prefix=INVALID-SECTION-SIZE %s
INVALID-SECTION-SIZE: invalid section header entry size (e_shentsize) in ELF header
-RUN: not llvm-readobj -t %p/Inputs/invalid-symbol-table-size.elf 2>&1 | FileCheck --check-prefix=INVALID-SYMTAB-SIZE %s
+RUN: not llvm-readobj --symbols %p/Inputs/invalid-symbol-table-size.elf 2>&1 | FileCheck --check-prefix=INVALID-SYMTAB-SIZE %s
INVALID-SYMTAB-SIZE: size is not a multiple of sh_entsize
-RUN: not llvm-readobj -t %p/Inputs/invalid-xindex-size.elf 2>&1 | FileCheck --check-prefix=INVALID-XINDEX-SIZE %s
+RUN: not llvm-readobj --symbols %p/Inputs/invalid-xindex-size.elf 2>&1 | FileCheck --check-prefix=INVALID-XINDEX-SIZE %s
INVALID-XINDEX-SIZE: invalid section contents size
-RUN: not llvm-readobj -t %p/Inputs/invalid-e_shnum.elf 2>&1 | FileCheck --check-prefix=INVALID-SH-NUM %s
+RUN: not llvm-readobj --symbols %p/Inputs/invalid-e_shnum.elf 2>&1 | FileCheck --check-prefix=INVALID-SH-NUM %s
INVALID-SH-NUM: invalid e_phentsize
-RUN: not llvm-readobj -t %p/Inputs/invalid-ext-symtab-index.elf-x86-64 2>&1 | \
+RUN: not llvm-readobj --symbols %p/Inputs/invalid-ext-symtab-index.elf-x86-64 2>&1 | \
RUN: FileCheck --check-prefix=INVALID-EXT-SYMTAB-INDEX %s
INVALID-EXT-SYMTAB-INDEX: index past the end of the symbol table
@@ -70,11 +70,11 @@ RUN: not llvm-readobj -r %p/Inputs/inval
RUN: FileCheck --check-prefix=INVALID-RELOC-SH-OFFSET %s
INVALID-RELOC-SH-OFFSET: invalid section offset
-RUN: not llvm-readobj -t %p/Inputs/invalid-section-size2.elf 2>&1 | \
+RUN: not llvm-readobj --symbols %p/Inputs/invalid-section-size2.elf 2>&1 | \
RUN: FileCheck --check-prefix=INVALID-SECTION-SIZE2 %s
INVALID-SECTION-SIZE2: invalid section offset
-RUN: not llvm-readobj -t %p/Inputs/invalid-sections-num.elf 2>&1 | FileCheck --check-prefix=INVALID-SECTION-NUM %s
+RUN: not llvm-readobj --symbols %p/Inputs/invalid-sections-num.elf 2>&1 | FileCheck --check-prefix=INVALID-SECTION-NUM %s
INVALID-SECTION-NUM: section table goes past the end of file
RUN: not llvm-readobj -r %p/Inputs/invalid-rel-sym.elf 2>&1 | FileCheck --check-prefix=INVALID-REL-SYM %s
Modified: llvm/trunk/test/Object/readobj-shared-object.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/readobj-shared-object.test?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/Object/readobj-shared-object.test (original)
+++ llvm/trunk/test/Object/readobj-shared-object.test Wed May 1 02:28:24 2019
@@ -1,14 +1,14 @@
-RUN: llvm-readobj -S -t --dyn-syms --dynamic-table --needed-libs \
+RUN: llvm-readobj -S --symbols --dyn-syms --dynamic-table --needed-libs \
RUN: %p/Inputs/shared-object-test.elf-i386 \
RUN: | FileCheck %s -check-prefix ELF
-RUN: llvm-readobj -S -t --dyn-syms --dynamic-table --needed-libs \
+RUN: llvm-readobj -S --symbols --dyn-syms --dynamic-table --needed-libs \
RUN: %p/Inputs/shared-object-test.elf-i386 \
RUN: | FileCheck %s -check-prefix ELF32
-RUN: llvm-readobj -S -t --dyn-syms --dynamic-table --needed-libs \
+RUN: llvm-readobj -S --symbols --dyn-syms --dynamic-table --needed-libs \
RUN: %p/Inputs/shared-object-test.elf-x86-64 \
RUN: | FileCheck %s -check-prefix ELF
-RUN: llvm-readobj -S -t --dyn-syms --dynamic-table --needed-libs \
+RUN: llvm-readobj -S --symbols --dyn-syms --dynamic-table --needed-libs \
RUN: %p/Inputs/shared-object-test.elf-x86-64 \
RUN: | FileCheck %s -check-prefix ELF64
Modified: llvm/trunk/test/ThinLTO/X86/personality-local.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ThinLTO/X86/personality-local.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/ThinLTO/X86/personality-local.ll (original)
+++ llvm/trunk/test/ThinLTO/X86/personality-local.ll Wed May 1 02:28:24 2019
@@ -6,7 +6,7 @@
; RUN: -r %t1.bc,foo,l \
; RUN: -r %t1.bc,bar,p \
; RUN: -r %t1.bc,main,xp
-; RUN: llvm-readobj -t %t.o.2 | FileCheck %s
+; RUN: llvm-readobj --symbols %t.o.2 | FileCheck %s
; CHECK: Symbol {
; CHECK: Name: foo
Modified: llvm/trunk/test/ThinLTO/X86/personality.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ThinLTO/X86/personality.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/ThinLTO/X86/personality.ll (original)
+++ llvm/trunk/test/ThinLTO/X86/personality.ll Wed May 1 02:28:24 2019
@@ -14,7 +14,7 @@
; RUN: -r %t1.bc,personality_routine3,l \
; RUN: -r %t1.bc,main,xp \
; RUN: -r %t1.bc,bar,l
-; RUN: llvm-readobj -t %t.o.2 | FileCheck %s --check-prefix=BINDING
+; RUN: llvm-readobj --symbols %t.o.2 | FileCheck %s --check-prefix=BINDING
; BINDING: Symbol {
; BINDING: Name: personality_routine
Modified: llvm/trunk/test/tools/gold/X86/comdat.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/comdat.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/comdat.ll (original)
+++ llvm/trunk/test/tools/gold/X86/comdat.ll Wed May 1 02:28:24 2019
@@ -4,7 +4,7 @@
; RUN: -m elf_x86_64 \
; RUN: -plugin-opt=save-temps
; RUN: FileCheck --check-prefix=RES %s < %t3.o.resolution.txt
-; RUN: llvm-readobj -t %t3.o | FileCheck --check-prefix=OBJ %s
+; RUN: llvm-readobj --symbols %t3.o | FileCheck --check-prefix=OBJ %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
Modified: llvm/trunk/test/tools/gold/X86/pr19901.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/pr19901.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/pr19901.ll (original)
+++ llvm/trunk/test/tools/gold/X86/pr19901.ll Wed May 1 02:28:24 2019
@@ -2,7 +2,7 @@
; RUN: llvm-as %p/Inputs/pr19901-1.ll -o %t2.o
; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \
; RUN: -shared -m elf_x86_64 -o %t.so %t2.o %t.o
-; RUN: llvm-readobj -t %t.so | FileCheck %s
+; RUN: llvm-readobj --symbols %t.so | FileCheck %s
; CHECK: Symbol {
; CHECK: Name: f
Modified: llvm/trunk/test/tools/gold/X86/pr19901_thinlto.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/pr19901_thinlto.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/pr19901_thinlto.ll (original)
+++ llvm/trunk/test/tools/gold/X86/pr19901_thinlto.ll Wed May 1 02:28:24 2019
@@ -3,7 +3,7 @@
; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \
; RUN: --plugin-opt=thinlto \
; RUN: -shared -m elf_x86_64 -o %t.so %t2.o %t.o
-; RUN: llvm-readobj -t %t.so | FileCheck %s
+; RUN: llvm-readobj --symbols %t.so | FileCheck %s
; CHECK: Symbol {
; CHECK: Name: f
Modified: llvm/trunk/test/tools/gold/X86/v1.16/wrap-1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/v1.16/wrap-1.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/v1.16/wrap-1.ll (original)
+++ llvm/trunk/test/tools/gold/X86/v1.16/wrap-1.ll Wed May 1 02:28:24 2019
@@ -1,13 +1,13 @@
; LTO
; RUN: llvm-as %s -o %t.o
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext %t.o -o %t.out -wrap=bar -plugin-opt=save-temps
-; RUN: llvm-readobj -t %t.out | FileCheck %s
+; RUN: llvm-readobj --symbols %t.out | FileCheck %s
; RUN: cat %t.out.resolution.txt | FileCheck -check-prefix=RESOLS %s
; ThinLTO
; RUN: opt -module-summary %s -o %t.o
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext %t.o -o %t.out -wrap=bar -plugin-opt=save-temps
-; RUN: llvm-readobj -t %t.out | FileCheck %s
+; RUN: llvm-readobj --symbols %t.out | FileCheck %s
; RUN: cat %t.out.resolution.txt | FileCheck -check-prefix=RESOLS %s
; CHECK: Name: __wrap_bar
Modified: llvm/trunk/test/tools/gold/X86/v1.16/wrap-2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/v1.16/wrap-2.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/v1.16/wrap-2.ll (original)
+++ llvm/trunk/test/tools/gold/X86/v1.16/wrap-2.ll Wed May 1 02:28:24 2019
@@ -9,14 +9,14 @@
; RUN-TODO: llvm-as %S/Inputs/wrap-bar.ll -o %t1.o
; RUN-TODO: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext %t.o %t1.o -shared -o %t.so -wrap=bar
; RUN-TODO: llvm-objdump -d %t.so | FileCheck %s
-; RUN-TODO: llvm-readobj -t %t.so | FileCheck -check-prefix=BIND %s
+; RUN-TODO: llvm-readobj --symbols %t.so | FileCheck -check-prefix=BIND %s
; ThinLTO
; RUN: opt -module-summary %s -o %t.o
; RUN: opt -module-summary %S/Inputs/wrap-bar.ll -o %t1.o
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext %t.o %t1.o -shared -o %t.so -wrap=bar
; RUN: llvm-objdump -d %t.so | FileCheck %s -check-prefix=THIN
-; RUN: llvm-readobj -t %t.so | FileCheck -check-prefix=BIND %s
+; RUN: llvm-readobj --symbols %t.so | FileCheck -check-prefix=BIND %s
; Make sure that calls in foo() are not eliminated and that bar is
; routed to __wrap_bar and __real_bar is routed to bar.
Modified: llvm/trunk/test/tools/gold/X86/visibility.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/visibility.ll?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/visibility.ll (original)
+++ llvm/trunk/test/tools/gold/X86/visibility.ll Wed May 1 02:28:24 2019
@@ -5,7 +5,7 @@
; RUN: -m elf_x86_64 \
; RUN: --plugin-opt=save-temps \
; RUN: -shared %t.o %t2.o -o %t.so
-; RUN: llvm-readobj -t %t.so | FileCheck %s
+; RUN: llvm-readobj --symbols %t.so | FileCheck %s
; RUN: llvm-dis %t.so.0.2.internalize.bc -o - | FileCheck --check-prefix=IR %s
; CHECK: Name: foo
Modified: llvm/trunk/test/tools/llvm-objcopy/ELF/symbol-empty-name.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objcopy/ELF/symbol-empty-name.test?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-objcopy/ELF/symbol-empty-name.test (original)
+++ llvm/trunk/test/tools/llvm-objcopy/ELF/symbol-empty-name.test Wed May 1 02:28:24 2019
@@ -1,6 +1,6 @@
# RUN: yaml2obj %s > %t
# RUN: llvm-objcopy %t %t2
-# RUN: llvm-readobj -t %t2 | FileCheck %s
+# RUN: llvm-readobj --symbols %t2 | FileCheck %s
## Check that all values of the null symbol are zeroes.
Modified: llvm/trunk/test/tools/llvm-readobj/coff-file-sections-reading.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-readobj/coff-file-sections-reading.test?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-readobj/coff-file-sections-reading.test (original)
+++ llvm/trunk/test/tools/llvm-readobj/coff-file-sections-reading.test Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-RUN: yaml2obj %p/Inputs/file-multiple-aux-records.yaml | llvm-readobj -t - | FileCheck %s
+RUN: yaml2obj %p/Inputs/file-multiple-aux-records.yaml | llvm-readobj --symbols - | FileCheck %s
CHECK: Symbols [
CHECK: Symbol {
Modified: llvm/trunk/test/tools/llvm-readobj/coff-non-null-terminated-file.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-readobj/coff-non-null-terminated-file.test?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-readobj/coff-non-null-terminated-file.test (original)
+++ llvm/trunk/test/tools/llvm-readobj/coff-non-null-terminated-file.test Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-RUN: yaml2obj %p/Inputs/file-aux-record.yaml | llvm-readobj -t - | FileCheck %s
+RUN: yaml2obj %p/Inputs/file-aux-record.yaml | llvm-readobj --symbols - | FileCheck %s
CHECK: Symbols [
CHECK: Symbol {
Modified: llvm/trunk/test/tools/llvm-readobj/coff-zero-string-table.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-readobj/coff-zero-string-table.test?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-readobj/coff-zero-string-table.test (original)
+++ llvm/trunk/test/tools/llvm-readobj/coff-zero-string-table.test Wed May 1 02:28:24 2019
@@ -1,7 +1,7 @@
Ensure that we can read COFF objects with a string table size of 0 (instead
of 4) for empty string tables.
-RUN: llvm-readobj -t %p/Inputs/zero-string-table.obj.coff-i386 | FileCheck %s
+RUN: llvm-readobj --symbols %p/Inputs/zero-string-table.obj.coff-i386 | FileCheck %s
CHECK: Symbols [
CHECK: Symbol {
Modified: llvm/trunk/test/tools/llvm-readobj/cxx-cli-aux.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-readobj/cxx-cli-aux.test?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-readobj/cxx-cli-aux.test (original)
+++ llvm/trunk/test/tools/llvm-readobj/cxx-cli-aux.test Wed May 1 02:28:24 2019
@@ -3,7 +3,7 @@ Ensure that we can read the COFF auxilia
definitions usually only follow a symbol with static storage class, but
non-const appdomain globals (external ABS) also get one.
-RUN: llvm-readobj -t %p/Inputs/cxx-cli-aux.obj.coff-i386 | FileCheck %s
+RUN: llvm-readobj --symbols %p/Inputs/cxx-cli-aux.obj.coff-i386 | FileCheck %s
CHECK: Symbols [
CHECK: Symbol {
Modified: llvm/trunk/test/tools/llvm-readobj/wasm-invalid.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-readobj/wasm-invalid.test?rev=359661&r1=359660&r2=359661&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-readobj/wasm-invalid.test (original)
+++ llvm/trunk/test/tools/llvm-readobj/wasm-invalid.test Wed May 1 02:28:24 2019
@@ -1,4 +1,4 @@
-# RUN: yaml2obj %s | not llvm-readobj -t - 2>&1 | FileCheck %s
+# RUN: yaml2obj %s | not llvm-readobj --symbols - 2>&1 | FileCheck %s
--- !WASM
FileHeader:
More information about the llvm-commits
mailing list