about summary refs log tree commit diff
path: root/compiler/rustc_session/src
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2024-06-14 15:49:45 -0700
committerJosh Stone <jistone@redhat.com>2024-06-26 15:05:01 -0700
commit31851d4770774ac95a694f2596138fc43fcd39b4 (patch)
tree8597a239c08e479a7d7298ade8575f87b80df003 /compiler/rustc_session/src
parent4bc39f028d14c24b04dd17dc425432c6ec354536 (diff)
downloadrust-31851d4770774ac95a694f2596138fc43fcd39b4.tar.gz
rust-31851d4770774ac95a694f2596138fc43fcd39b4.zip
Add `-Zdump-mir-exclude-alloc-bytes`
Diffstat (limited to 'compiler/rustc_session/src')
-rw-r--r--compiler/rustc_session/src/options.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs
index 9a10adeb6d1..a3f1369776d 100644
--- a/compiler/rustc_session/src/options.rs
+++ b/compiler/rustc_session/src/options.rs
@@ -1662,6 +1662,8 @@ options! {
         (default: no)"),
     dump_mir_dir: String = ("mir_dump".to_string(), parse_string, [UNTRACKED],
         "the directory the MIR is dumped into (default: `mir_dump`)"),
+    dump_mir_exclude_alloc_bytes: bool = (false, parse_bool, [UNTRACKED],
+        "exclude the raw bytes of allocations when dumping MIR (used in tests) (default: no)"),
     dump_mir_exclude_pass_number: bool = (false, parse_bool, [UNTRACKED],
         "exclude the pass number when dumping MIR (used in tests) (default: no)"),
     dump_mir_graphviz: bool = (false, parse_bool, [UNTRACKED],