HomePhabricator

[llvm-objdump] Implement --prefix option

Authored by tinti on Oct 16 2020, 7:35 AM.

Description

[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

Details

Committed
rengolinOct 16 2020, 9:50 AM
Differential Revision
D85024: [llvm-objdump] Implement --prefix option
Parents
rG3d4bba302d24: [MemProf] Memory profiling runtime support
Branches
Unknown
Tags
Unknown