rust/compiler/rustc_interface/src
Joshua Nelson 483ee1f147 Add a -Zdump-drop-tracking-cfg debugging flag
This is useful for debugging drop-tracking; previously, you had to recompile
rustc from source and manually add a call to `write_graph_to_file`. This
makes the option more discoverable and configurable at runtime.

I also took the liberty of making the labels for the CFG nodes much easier to read:
previously, they looked like `id(2), local_id: 48`, now they look like
```
expr from_config (hir_id=HirId { owner: DefId(0:10 ~ default_struct_update[79f9]::foo), local_id: 2})
```
2022-06-26 06:27:24 -05:00
..
callbacks.rs typo 2022-05-23 22:51:34 +02:00
interface.rs Add support for values() with --check-cfg 2022-03-03 12:00:28 +01:00
lib.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
passes.rs Rollup merge of #98165 - WaffleLapkin:once_things_renamings, r=m-ou-se 2022-06-19 00:17:13 +02:00
proc_macro_decls.rs update Finder to store LocalDefId 2022-04-09 14:00:22 -04:00
queries.rs only_local: always check for misuse 2022-05-10 12:07:35 +02:00
tests.rs Add a -Zdump-drop-tracking-cfg debugging flag 2022-06-26 06:27:24 -05:00
util.rs Move/rename lazy::Sync{OnceCell,Lazy} to sync::{Once,Lazy}Lock 2022-06-16 19:54:42 +04:00