As part of our build, the Tock project uses remap-path-prefix  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 :
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 :
But I can’t find an equivalent mechanism in llvm-objdump.
What’s the correct way to point objdump to source files during disassembly?
To reproduce the problem,
make lst in any of the boards for the Tock Operating System (e.g. https://github.com/tock/tock/tree/master/boards/hail ) will produce many missing file warnings.
Thanks for your help!