mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
1 parent
1c28631738
commit
aa78827db2
4 files changed
+14
-1
No files matched your search
+5
-1
@@ -4992,7 +4992,11 @@ static void init(CodeGen *g) {
|
||||
|
||||
LLVMSetTarget(g->module, buf_ptr(&g->triple_str));
|
||||
|
||||
ZigLLVMAddModuleDebugInfoFlag(g->module);
|
||||
if (g->zig_target.oformat == ZigLLVM_COFF) {
|
||||
ZigLLVMAddModuleCodeViewFlag(g->module);
|
||||
} else {
|
||||
ZigLLVMAddModuleDebugInfoFlag(g->module);
|
||||
}
|
||||
|
||||
LLVMTargetRef target_ref;
|
||||
char *err_msg = nullptr;
|
||||
|
||||
Reference in new issue
Block a user