mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 00:26:57 +00:00
LLVM: update to DWARF version 5
clang-14 uses DWARF 5 as the default. Let's join them.
This commit is contained in:
parent
5d2e9a1244
commit
6d679eb2bc
@ -1130,7 +1130,7 @@ void ZigLLVMGetNativeTarget(ZigLLVM_ArchType *arch_type,
|
||||
|
||||
void ZigLLVMAddModuleDebugInfoFlag(LLVMModuleRef module) {
|
||||
unwrap(module)->addModuleFlag(Module::Warning, "Debug Info Version", DEBUG_METADATA_VERSION);
|
||||
unwrap(module)->addModuleFlag(Module::Warning, "Dwarf Version", 4);
|
||||
unwrap(module)->addModuleFlag(Module::Warning, "Dwarf Version", 5);
|
||||
}
|
||||
|
||||
void ZigLLVMAddModuleCodeViewFlag(LLVMModuleRef module) {
|
||||
|
Loading…
Reference in New Issue
Block a user