rust/compiler/rustc_codegen_llvm/src/debuginfo
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
..
create_scope_map.rs compiler: fold by value 2020-11-16 22:34:57 +01:00
doc.rs rustc_codegen_llvm: create DIFiles from just SourceFiles. 2020-10-21 04:43:56 +03:00
gdb.rs Collapse all uses of target.options.foo into target.foo 2020-11-08 17:29:13 +03:00
metadata.rs Set path of the compile unit to the source directory 2021-02-14 17:12:14 +02:00
mod.rs Remove the unused context from CreateDebugLocation 2021-01-13 11:55:49 -08:00
namespace.rs Address review comment 2020-09-25 22:48:44 +01:00
utils.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00