From d789c687172166fe599d6b4cec2993f25f75989e Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 11 Jul 2022 16:41:41 -0700 Subject: zig_llvm: include Debug Info Version even for CodeView I mistakenly thought this was supposed to only be present for Dwarf. --- src/zig_llvm.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/zig_llvm.cpp') diff --git a/src/zig_llvm.cpp b/src/zig_llvm.cpp index abb1eb0a99..52c202fded 100644 --- a/src/zig_llvm.cpp +++ b/src/zig_llvm.cpp @@ -1134,6 +1134,7 @@ void ZigLLVMAddModuleDebugInfoFlag(LLVMModuleRef module) { } void ZigLLVMAddModuleCodeViewFlag(LLVMModuleRef module) { + unwrap(module)->addModuleFlag(Module::Warning, "Debug Info Version", DEBUG_METADATA_VERSION); unwrap(module)->addModuleFlag(Module::Warning, "CodeView", 1); } -- cgit v1.2.3