rust/compiler/rustc_codegen_llvm/src/debuginfo
Vadim Petrochenkov 5b5964f569 rustc: Panic by default in DefIdTree::parent
Only crate root def-ids don't have a parent, and in majority of cases the argument of `DefIdTree::parent` cannot be a crate root.
So we now panic by default in `parent` and introduce a new non-panicing function `opt_parent` for cases where the argument can be a crate root.

Same applies to `local_parent`/`opt_local_parent`.
2022-05-02 01:56:50 +03:00
..
metadata couple of clippy::perf fixes 2022-04-13 22:18:28 +02:00
create_scope_map.rs not need Option for dbg_scope 2022-04-26 21:00:19 +08:00
doc.md debuginfo: Refactor debuginfo generation for types -- Run x.py fmt 2022-03-14 16:52:47 +01:00
gdb.rs Remove in_band_lifetimes from rustc_codegen_llvm 2021-12-16 14:43:32 -05:00
metadata.rs debuginfo: Emit ZST struct debuginfo for unit type when CPP-like debuginfo is enabled (instead of custom basic type). 2022-04-22 14:59:35 +02:00
mod.rs not need Option for dbg_scope 2022-04-26 21:00:19 +08:00
namespace.rs Remove in_band_lifetimes from rustc_codegen_llvm 2021-12-16 14:43:32 -05:00
utils.rs rustc: Panic by default in DefIdTree::parent 2022-05-02 01:56:50 +03:00