summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/accel-tables.ll
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-05-01 05:27:20 +0000
committerFangrui Song <maskray@google.com>2019-05-01 05:27:20 +0000
commite29e30b1397f3e50f3487491f8a77ae08e4e3471 (patch)
tree214ee9eb6e3ea8b5007db0c5eee8bde4ea017c3f /llvm/test/DebugInfo/X86/accel-tables.ll
parentfccb505f0f59d94b0c46f2dd28fd8893ca45899d (diff)
downloadbcm5719-llvm-e29e30b1397f3e50f3487491f8a77ae08e4e3471.tar.gz
bcm5719-llvm-e29e30b1397f3e50f3487491f8a77ae08e4e3471.zip
[llvm-readobj] Change -long-option to --long-option in tests. NFC
We use both -long-option and --long-option in tests. Switch to --long-option for consistency. In the "llvm-readelf" mode, -long-option is discouraged as it conflicts with grouped short options and it is not accepted by GNU readelf. While updating the tests, change llvm-readobj -s to llvm-readobj -S to reduce confusion ("s" is --section-headers in llvm-readobj but --symbols in llvm-readelf). llvm-svn: 359649
Diffstat (limited to 'llvm/test/DebugInfo/X86/accel-tables.ll')
-rw-r--r--llvm/test/DebugInfo/X86/accel-tables.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/DebugInfo/X86/accel-tables.ll b/llvm/test/DebugInfo/X86/accel-tables.ll
index 1aef33c33e7..3f709a27d66 100644
--- a/llvm/test/DebugInfo/X86/accel-tables.ll
+++ b/llvm/test/DebugInfo/X86/accel-tables.ll
@@ -2,25 +2,25 @@
; Darwin has the apple tables unless we specifically tune for gdb
; RUN: llc -mtriple=x86_64-apple-darwin12 -filetype=obj < %s \
-; RUN: | llvm-readobj -sections - | FileCheck --check-prefix=APPLE %s
+; RUN: | llvm-readobj --sections - | FileCheck --check-prefix=APPLE %s
; RUN: llc -mtriple=x86_64-apple-darwin12 -filetype=obj -debugger-tune=gdb < %s \
-; RUN: | llvm-readobj -sections - | FileCheck --check-prefix=PUB %s
+; RUN: | llvm-readobj --sections - | FileCheck --check-prefix=PUB %s
; Linux does has debug_names tables only if we explicitly tune for lldb
; RUN: llc -mtriple=x86_64-pc-linux -filetype=obj < %s \
-; RUN: | llvm-readobj -sections - | FileCheck --check-prefix=PUB %s
+; RUN: | llvm-readobj --sections - | FileCheck --check-prefix=PUB %s
; RUN: llc -mtriple=x86_64-pc-linux -filetype=obj -debugger-tune=lldb < %s \
-; RUN: | llvm-readobj -sections - | FileCheck --check-prefix=DEBUG_NAMES %s
+; RUN: | llvm-readobj --sections - | FileCheck --check-prefix=DEBUG_NAMES %s
; No accelerator tables if type units are enabled, as DWARF v4 type units are
; not compatible with accelerator tables.
; RUN: llc -mtriple=x86_64-pc-linux -filetype=obj -generate-type-units -debugger-tune=lldb < %s \
-; RUN: | llvm-readobj -sections - | FileCheck --check-prefix=NONE %s
+; RUN: | llvm-readobj --sections - | FileCheck --check-prefix=NONE %s
; Debug types are ignored for non-ELF targets which means it shouldn't affect
; accelerator table generation.
; RUN: llc -mtriple=x86_64-apple-darwin12 -generate-type-units -filetype=obj < %s \
-; RUN: | llvm-readobj -sections - | FileCheck --check-prefix=APPLE %s
+; RUN: | llvm-readobj --sections - | FileCheck --check-prefix=APPLE %s
; APPLE-NOT: debug_names
; APPLE-NOT: debug{{.*}}pub
OpenPOWER on IntegriCloud