llvm: update uwtable value for stage1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user