aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-05-15 09:44:05 +0200
committerJakub Konka <kubkon@jakubkonka.com>2022-05-15 18:21:50 +0200
commit5f97652da8881773b823a0730e5791816668528a (patch)
treed40b03df8428404724c6eae998d4572623286362 /src/Compilation.zig
parent5138856a72fc009ec799cb935d9117e3bd72f16a (diff)
downloadzig-5f97652da8881773b823a0730e5791816668528a.tar.gz
zig-5f97652da8881773b823a0730e5791816668528a.zip
x64: remove verbose_mir functionality
Originally I thought interleaving AIR with MIR will be useful, however as it stands, I have used it very sporadically, and recently, not at all, and I do not think anyone else is actually using it. If there is a simple error such as a wrong instruction emitted, `objdump` is perfectly capable of narrowing it down, while if there's something more subtle happening, regardless of having `--verbose-mir` functionality or not, you still gotta go via the debugger which offers a better view at interleaved source program with the emitted machine code. Finally, I believe `-femit-asm` when we add it will offer a more generic substitute.
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index 2091502da2..407c753193 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -82,7 +82,6 @@ clang_preprocessor_mode: ClangPreprocessorMode,
/// Whether to print clang argvs to stdout.
verbose_cc: bool,
verbose_air: bool,
-verbose_mir: bool,
verbose_llvm_ir: bool,
verbose_cimport: bool,
verbose_llvm_cpu_features: bool,
@@ -775,7 +774,6 @@ pub const InitOptions = struct {
verbose_cc: bool = false,
verbose_link: bool = false,
verbose_air: bool = false,
- verbose_mir: bool = false,
verbose_llvm_ir: bool = false,
verbose_cimport: bool = false,
verbose_llvm_cpu_features: bool = false,
@@ -1683,7 +1681,6 @@ pub fn create(gpa: Allocator, options: InitOptions) !*Compilation {
.clang_preprocessor_mode = options.clang_preprocessor_mode,
.verbose_cc = options.verbose_cc,
.verbose_air = options.verbose_air,
- .verbose_mir = options.verbose_mir,
.verbose_llvm_ir = options.verbose_llvm_ir,
.verbose_cimport = options.verbose_cimport,
.verbose_llvm_cpu_features = options.verbose_llvm_cpu_features,