From e29e30b1397f3e50f3487491f8a77ae08e4e3471 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 1 May 2019 05:27:20 +0000 Subject: [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 --- llvm/test/DebugInfo/X86/generate-odr-hash.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/test/DebugInfo/X86/generate-odr-hash.ll') diff --git a/llvm/test/DebugInfo/X86/generate-odr-hash.ll b/llvm/test/DebugInfo/X86/generate-odr-hash.ll index 8a46f6db6d8..4666cef5af1 100644 --- a/llvm/test/DebugInfo/X86/generate-odr-hash.ll +++ b/llvm/test/DebugInfo/X86/generate-odr-hash.ll @@ -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 -t %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 -t %t | FileCheck --check-prefix=OBJ_FISSION %s ; Generated from bar.cpp: -- cgit v1.2.3