b9ed9e2a32
This PR makes `rustc` emit field names for tuple fields in DWARF. Formerly there was no way of directly accessing the fields of a tuple in GDB and LLDB since there is no C/C++ equivalent to this. Now, the debugger sees the name `__{field-index}` for tuple fields. So you can type for example `some_tuple_val.__2` to get the third tuple component. When pretty printers are used (e.g. via `rust-gdb` or `rust-lldb`) these artificial field names will not clutter tuple rendering (which was the main motivation for not doing this in the past). Solves #21948. |
||
---|---|---|
.. | ||
mingw-fix-include | ||
third-party | ||
2014-06-rewrite-bytes-macros.py | ||
adb_run_wrapper.sh | ||
apple-darwin.supp | ||
check-binaries.py | ||
check-sanitycheck.py | ||
check-summary.py | ||
cmathconsts.c | ||
CONFIGS.md | ||
ctags.rust | ||
errorck.py | ||
extract_grammar.py | ||
featureck.py | ||
gdb_load_rust_pretty_printers.py | ||
gdb_rust_pretty_printing.py | ||
generate-deriving-span-tests.py | ||
generate-keyword-tests.py | ||
get-snapshot.py | ||
htmldocck.py | ||
indenter | ||
latest-unix-snaps.py | ||
libc.c | ||
licenseck.py | ||
lldb_batchmode.py | ||
lldb_rust_formatters.py | ||
local_stage0.sh | ||
make-snapshot.py | ||
make-win-dist.py | ||
maketest.py | ||
mirror-all-snapshots.py | ||
mklldeps.py | ||
regex-match-tests.py | ||
rust-gdb | ||
rust-lldb | ||
snapshot.py | ||
sugarise-doc-comments.py | ||
tidy.py | ||
unicode.py | ||
x86.supp | ||
ziggurat_tables.py |