Adding trap on debug builds.

This commit is contained in:
Christoffer Lerno
2020-04-09 13:47:23 +02:00
parent bb806716e4
commit f53b378b0c
10 changed files with 158 additions and 11 deletions

View File

@@ -95,6 +95,7 @@ void compiler_compile(BuildTarget *target)
}
if (diagnostics.errors > 0) exit(EXIT_FAILURE);
llvm_codegen_setup();
VECEACH(contexts, i)
{
Context *context = contexts[i];