llvm: update uwtable value for stage1

This commit is contained in:
kcbanner 2022-09-25 02:39:00 -04:00
parent 328f75c985
commit 1cc890e5c3

View File

@ -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);
}
}