Merge pull request #205 from birth-software/finalize-all-di-builders

Finalize all debug info builders
This commit is contained in:
David 2024-06-01 09:32:50 -06:00 committed by GitHub
commit bdbc33d685
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2887,9 +2887,9 @@ fn worker_thread(thread_index: u32, cpu_count: *u32) void {
} }
if (debug_info) { if (debug_info) {
const file_index = thread.functions.slice()[0].declaration.file; for (thread.debug_info_file_map.values()) |v| {
const llvm_file = thread.debug_info_file_map.get_pointer(file_index).?; v.builder.finalize();
llvm_file.builder.finalize(); }
} }
const verify_module = true; const verify_module = true;