[all-commits] [llvm/llvm-project] e95f9a: [llvm-objdump] Implement --prefix option
Vinicius Tinti via All-commits
all-commits at lists.llvm.org
Fri Oct 16 09:51:41 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e95f9a23fad52ffa3a5b6466c7dcdf910d099956
https://github.com/llvm/llvm-project/commit/e95f9a23fad52ffa3a5b6466c7dcdf910d099956
Author: Vinicius Tinti <viniciustinti at gmail.com>
Date: 2020-10-16 (Fri, 16 Oct 2020)
Changed paths:
M llvm/docs/CommandGuide/llvm-objdump.rst
M llvm/docs/llvm-objdump.1
A llvm/test/tools/llvm-objdump/X86/source-interleave-prefix-non-windows.test
A llvm/test/tools/llvm-objdump/X86/source-interleave-prefix-windows.test
A llvm/test/tools/llvm-objdump/X86/source-interleave-prefix.test
M llvm/tools/llvm-objdump/llvm-objdump.cpp
M llvm/tools/llvm-objdump/llvm-objdump.h
Log Message:
-----------
[llvm-objdump] Implement --prefix option
The prefix given to --prefix will be added to GNU absolute paths when
used with --source option (source interleaved with the disassembly).
This matches GNU's objdump behavior.
GNU and C++17 rules for absolute paths are different.
Differential Revision: https://reviews.llvm.org/D85024
Fixes PR46368.
Differential Revision: https://reviews.llvm.org/D85024
More information about the All-commits
mailing list