Benchmark / test no longer suppresses debug info. #1364

This commit is contained in:
Christoffer Lerno
2024-08-18 22:29:41 +02:00
parent 2b0857baf9
commit 15a4e23b22
2 changed files with 1 additions and 2 deletions

View File

@@ -77,6 +77,7 @@
- Missing check on optional left hand side for `s.x`.
- Incorrect zero analysis on `foo["test"] = {}` #1360.
- Bug converting untyped list #1360.
- Benchmark / test no longer suppresses debug info. #1364.
### Stdlib changes

View File

@@ -1304,7 +1304,6 @@ INLINE GenContext *llvm_gen_tests(Module** modules, unsigned module_count, LLVMC
Module *test_module = compiler_find_or_create_module(test_path, NULL);
GenContext *c = cmalloc(sizeof(GenContext));
compiler.build.debug_info = DEBUG_INFO_NONE;
gencontext_init(c, test_module, shared_context);
gencontext_begin_module(c);
@@ -1403,7 +1402,6 @@ INLINE GenContext *llvm_gen_benchmarks(Module** modules, unsigned module_count,
Module *benchmark_module = compiler_find_or_create_module(benchmark_path, NULL);
GenContext *c = cmalloc(sizeof(GenContext));
compiler.build.debug_info = DEBUG_INFO_NONE;
gencontext_init(c, benchmark_module, shared_context);
gencontext_begin_module(c);