mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
llvm: update uwtable value for stage1
This commit is contained in:
parent
328f75c985
commit
1cc890e5c3
@ -223,7 +223,7 @@ static ZigLLVM_CallingConv get_llvm_cc(CodeGen *g, CallingConvention cc) {
|
||||
|
||||
static void add_uwtable_attr(CodeGen *g, LLVMValueRef fn_val) {
|
||||
if (g->unwind_tables) {
|
||||
addLLVMFnAttrStr(fn_val, "uwtable", "sync");
|
||||
addLLVMFnAttrInt(fn_val, "uwtable", 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user