-Zremap-path-scope=macro
still remaps inlined ELF symbols
#139217
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
A-path-remapping
Area: path remapping, --remap-path-prefix, --remap-cwd-prefix, --remap-diagnostics-scope etc.
C-bug
Category: This is a bug.
F-trim-paths
Feature: trim-paths
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The unstable feature
-Zremap-path-scope
is supposed to constrain--remap-path-prefix
to only a certain subset of remappings. However, it seems as though DWARF data still has paths remapped for functions that are inlined.I tried this code:
I expected to see this happen: No DWARF symbols should contain
foo
, because onlyfile!()
macros should be remapped.Instead, this happened: The inlined symbol got remapped:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: