release builds of stage1 have llvm ir verification
the stage2 zig code however gets compiled in release mode, and stripped.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user