removed llvm tests

This commit is contained in:
Sven Vogel 2024-05-27 01:24:37 +02:00
parent fd1cca119f
commit ad7355c94c
1 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,11 @@ BackendError parse_module(const Module* module, void**) {
err = impl_global_variables(unit, global_scope, module->variables);
char* err_msg = NULL;
if (LLVMPrintModuleToFile(unit->module, "out.s", &err_msg)) {
err = new_backend_impl_error(Implementation, NULL, err_msg);
}
delete_global_scope(global_scope);
LLVMDisposeModule(unit->module);