1
Fork 0
rust/compiler/rustc_session
Simonas Kazlauskas 16c71886c9 Set path of the compile unit to the source directory
As part of the effort to implement split dwarf debug info, we ended up
setting the compile unit location to the output directory rather than
the source directory. Furthermore, it seems like we failed to remap the
prefixes for this as well!

The desired behaviour is to instead set the `DW_AT_GNU_dwo_name` to a
path relative to compiler's working directory. This still allows
debuggers to find the split dwarf files, while not changing the
behaviour of the code that is compiling with regular debug info, and not
changing the compiler's behaviour with regards to reproducibility.

Fixes #82074
2021-02-14 17:12:14 +02:00
..
src Set path of the compile unit to the source directory 2021-02-14 17:12:14 +02:00
Cargo.toml Implement rustc side of report-future-incompat 2020-10-30 20:02:14 -04:00