<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Add support for source path fixup during disassembly"
href="https://bugs.llvm.org/show_bug.cgi?id=46368">46368</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Add support for source path fixup during disassembly
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>llvm-objdump
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pat.pannuto@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>As discussed on the mailing list:
<a href="http://lists.llvm.org/pipermail/llvm-dev/2020-June/142335.html">http://lists.llvm.org/pipermail/llvm-dev/2020-June/142335.html</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>