bors b9ed9e2a32 Auto merge of #24351 - michaelwoerister:named-tuple-fields, r=alexcrichton
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.
2015-04-13 12:39:49 +00:00
..
2015-01-27 01:26:02 -08:00
2014-02-17 10:36:47 -06:00
2015-02-15 14:32:48 +03:00
2014-07-24 09:08:52 -04:00
2015-01-27 01:26:02 -08:00
2015-01-16 08:49:54 -08:00
2015-02-11 14:49:06 -08:00
2015-02-01 11:08:15 -08:00
2015-01-27 01:26:01 -08:00
2015-02-11 14:49:06 -08:00
2015-02-11 14:49:06 -08:00
2015-02-23 21:15:34 -08:00
2015-04-13 10:30:10 +12:00
2014-10-02 05:01:10 -04:00
2014-03-12 11:31:05 +11:00