From 2482bdf22b77bdee718167da5390157cc792dced Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 9 Sep 2019 09:33:33 -0400 Subject: release builds of stage1 have llvm ir verification the stage2 zig code however gets compiled in release mode, and stripped. --- src/codegen.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3