aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-07-12 22:00:55 -0400
committerGitHub <noreply@github.com>2022-07-12 22:00:55 -0400
commit3708e26f4b8b9514f055ae2a0571d3290414bf8b (patch)
treeee2745845554a96546bd4358f9e17ed634f7a3da /src/zig_llvm.cpp
parent2eaef84ebe968224b0cf25206abf12ea1c5e0f5a (diff)
parent6ab5219e34d385e29df9b2a014ed89b9db343740 (diff)
downloadzig-3708e26f4b8b9514f055ae2a0571d3290414bf8b.tar.gz
zig-3708e26f4b8b9514f055ae2a0571d3290414bf8b.zip
Merge pull request #12084 from ziglang/stage2-std
stage2 bug fixes
Diffstat (limited to 'src/zig_llvm.cpp')
-rw-r--r--src/zig_llvm.cpp1
1 files changed, 1 insertions, 0 deletions
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);
}