[PATCH] D73574: Omit "Contents of" headers when -no-leading-headers is specified.
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 29 00:50:09 PST 2020
jhenderson added inline comments.
================
Comment at: llvm/test/tools/llvm-objdump/X86/macho-cstring-dump.test:3
RUN: llvm-objdump -m -section __TEXT,__cstring -no-leading-addr %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s -check-prefix=NO_ADDR
+RUN: llvm-objdump -m -section __TEXT,__cstring -no-leading-addr -no-leading-headers %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s -check-prefix=NO_ADDR_NO_HEADERS
RUN: llvm-objdump -m -section __TEXT,__cstring -non-verbose %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s -check-prefix=NON_VERBOSE
----------------
As the two switches are separate, let's not specify them both. I think this test case can just specify no-leading-headers.
If you think the combination of them both is worth testing, do that in addition to the individual cases.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73574/new/
https://reviews.llvm.org/D73574
More information about the llvm-commits
mailing list