authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-08-22 16:57:03-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-08-22 16:57:18-07:00
log6d679eb2bcbe76e389c02e0bb4d4c4feb2847783
treed19e90ac3a36cc1e369b58c6eba4c5aa9a0938f9
parent5d2e9a12443e7f6aae1e9289f15b02f85be4bb32

LLVM: update to DWARF version 5

clang-14 uses DWARF 5 as the default. Let's join them.

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

src/zig_llvm.cpp+1-1
......@@ -1130,7 +1130,7 @@ void ZigLLVMGetNativeTarget(ZigLLVM_ArchType *arch_type,
11301130
11311131void ZigLLVMAddModuleDebugInfoFlag(LLVMModuleRef module) {
11321132 unwrap(module)->addModuleFlag(Module::Warning, "Debug Info Version", DEBUG_METADATA_VERSION);
1133 unwrap(module)->addModuleFlag(Module::Warning, "Dwarf Version", 4);
1133 unwrap(module)->addModuleFlag(Module::Warning, "Dwarf Version", 5);
11341134}
11351135
11361136void ZigLLVMAddModuleCodeViewFlag(LLVMModuleRef module) {