authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-11 16:41:41-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-12 18:38:11-07:00
logd789c687172166fe599d6b4cec2993f25f75989e
tree8a3bb4a8846da09e7758b20968b2fe8b1c206344
parent56f2e5c5bc3267fa6c54d8fbc2295c5fa2a21571

zig_llvm: include Debug Info Version even for CodeView

I mistakenly thought this was supposed to only be present for Dwarf.

1 files changed, 1 insertions(+), 0 deletions(-)

src/zig_llvm.cpp+1
......@@ -1134,6 +1134,7 @@ void ZigLLVMAddModuleDebugInfoFlag(LLVMModuleRef module) {
11341134}
11351135
11361136void ZigLLVMAddModuleCodeViewFlag(LLVMModuleRef module) {
1137 unwrap(module)->addModuleFlag(Module::Warning, "Debug Info Version", DEBUG_METADATA_VERSION);
11371138 unwrap(module)->addModuleFlag(Module::Warning, "CodeView", 1);
11381139}
11391140