diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-06-29 10:28:20 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-29 10:28:20 +0530 |
| commit | c23add778c2aca1fc8b764464fe2a8aa7446f413 (patch) | |
| tree | 4218ac98281a87fd70a0a96c401f4a0db9113ef3 /compiler/rustc_codegen_llvm/src | |
| parent | dee9aed07d3e4d54d1d4c56474a9630e4cd3496f (diff) | |
| parent | 1a5e2d8c92ce1341fcf1632be981f78a3a8d635b (diff) | |
| download | rust-c23add778c2aca1fc8b764464fe2a8aa7446f413.tar.gz rust-c23add778c2aca1fc8b764464fe2a8aa7446f413.zip | |
Rollup merge of #97786 - ferrocene:pa-fix-simulate-remap-prefix, r=Mark-Simulacrum
Account for `-Z simulate-remapped-rust-src-base` when resolving remapped paths Discovered in #97682, `-Z simulate-remapped-rust-src-base` only partially simulated the behavior of `remap-debuginfo = true`. While the flag successfully simulates the remapping when stdlib's `rmeta` file is loaded, the simulated prefix was not accounted for when the remapped path's local path was being discovered. This caused the flag to not fully simulate the behavior of `remap-debuginfo = true`, leading to inconsistent behaviors. This PR fixes https://github.com/rust-lang/rust/issues/97682 by also accounting for the simulated path.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
