aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-09-09 09:33:33 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-09-09 09:33:33 -0400
commit2482bdf22b77bdee718167da5390157cc792dced (patch)
tree9fb2cf78ae9d18d52bbbff2fb61b74161f68558d /src
parent19cf9bd06283d020fa013333b04504133a2e26cb (diff)
downloadzig-2482bdf22b77bdee718167da5390157cc792dced.tar.gz
zig-2482bdf22b77bdee718167da5390157cc792dced.zip
release builds of stage1 have llvm ir verification
the stage2 zig code however gets compiled in release mode, and stripped.
Diffstat (limited to 'src')
-rw-r--r--src/codegen.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp
index 3066d8b1c5..b590995c92 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -7381,10 +7381,8 @@ static void do_code_gen(CodeGen *g) {
LLVMDumpModule(g->module);
}
-#ifndef NDEBUG
char *error = nullptr;
LLVMVerifyModule(g->module, LLVMAbortProcessAction, &error);
-#endif
}
static void zig_llvm_emit_output(CodeGen *g) {