https://bugs.llvm.org/show_bug.cgi?id=46368
Bug ID: 46368
Summary: Add support for source path fixup during disassembly
Product: tools
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: llvm-objdump
Assignee: unassignedb...@nondot.org
Reporter: pat.pann...@gmail.com
CC: llvm-bugs@lists.llvm.org
As discussed on the mailing list:
http://lists.llvm.org/pipermail/llvm-dev/2020-June/142335.html
Replicating relevant bits of the mailing list post:
As part of our build, the Tock project uses remap-path-prefix [1] to create
a reproducible build. This means that the paths inside of built artifacts
are not full source paths. When we later attempt to produce a listings
file, the source mapping fails. The result is many copies of this recently
merged warning [2]:
llvm-objdump: warning:
'/Volumes/code/helena-project/tock/target/thumbv7em-none-eabi/release/hail.elf':
failed to find source chips/sam4l/src/eic.rs
It looks like GNU objdump provides a --prefix option to address this exact
problem [3]:
* --prefix=**prefix* Specify *prefix* to add to the absolute paths
when used with *-S*.
llvm-objdump needs this or another mechanism to allow remapping of source paths
to support disassembly with source of reproducibly built artifacts.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs