[llvm-bugs] [Bug 46368] New: Add support for source path fixup during disassembly
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jun 17 13:05:19 PDT 2020
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: unassignedbugs at nondot.org
Reporter: pat.pannuto at gmail.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200617/86ae0b2d/attachment.html>
More information about the llvm-bugs
mailing list