Allow sysv and win64 calling conventions to be used on any platform on amd64

This commit is contained in:
gingerBill
2022-02-16 16:03:49 +00:00
parent 42ad54c28e
commit db6bd9b358
8 changed files with 60 additions and 35 deletions
+4
View File
@@ -548,6 +548,10 @@ lbCallingConventionKind const lb_calling_convention_map[ProcCC_MAX] = {
lbCallingConvention_C, // ProcCC_None,
lbCallingConvention_C, // ProcCC_Naked,
lbCallingConvention_C, // ProcCC_InlineAsm,
lbCallingConvention_Win64, // ProcCC_Win64,
lbCallingConvention_X86_64_SysV, // ProcCC_SysV,
};
enum : LLVMDWARFTypeEncoding {