[PATCH] D96679: [llvm-objdump] Implement --prefix-strip option
Vinicius Tinti via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 14 18:39:16 PST 2021
tinti created this revision.
tinti added reviewers: jhenderson, rengolin, MaskRay.
Herald added a subscriber: rupprecht.
tinti requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The option `--prefix-strip` is only used when `--prefix` is not empty.
It removes N initial directories from absolute paths before adding the
prefix.
This matches GNU's objdump behavior.
Depends on D85024 <https://reviews.llvm.org/D85024>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D96679
Files:
llvm/docs/CommandGuide/llvm-objdump.rst
llvm/docs/llvm-objdump.1
llvm/test/tools/llvm-objdump/X86/source-interleave-prefix.test
llvm/tools/llvm-objdump/llvm-objdump.cpp
llvm/tools/llvm-objdump/llvm-objdump.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96679.323656.patch
Type: text/x-patch
Size: 4251 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210215/b85684c0/attachment.bin>
More information about the llvm-commits
mailing list