link.Dwarf: Some minor corrections to calling conventions to ~match Clang.
This can't be completely 1:1 due to the fact that we model CCs more precisely, but this is about as close as we can get.
This commit is contained in:
@@ -3415,8 +3415,8 @@ fn updateType(
|
||||
.x86_64_regcall_v3_sysv => .LLVM_X86RegCall,
|
||||
.x86_64_regcall_v4_win => .LLVM_X86RegCall,
|
||||
.x86_64_vectorcall => .LLVM_vectorcall,
|
||||
.x86_sysv => .nocall,
|
||||
.x86_win => .nocall,
|
||||
.x86_sysv => .normal,
|
||||
.x86_win => .normal,
|
||||
.x86_stdcall => .BORLAND_stdcall,
|
||||
.x86_fastcall => .BORLAND_msfastcall,
|
||||
.x86_thiscall => .BORLAND_thiscall,
|
||||
@@ -3425,13 +3425,13 @@ fn updateType(
|
||||
.x86_regcall_v4_win => .LLVM_X86RegCall,
|
||||
.x86_vectorcall => .LLVM_vectorcall,
|
||||
|
||||
.aarch64_aapcs => .LLVM_AAPCS,
|
||||
.aarch64_aapcs_darwin => .LLVM_AAPCS,
|
||||
.aarch64_aapcs_win => .LLVM_AAPCS,
|
||||
.aarch64_aapcs => .normal,
|
||||
.aarch64_aapcs_darwin => .normal,
|
||||
.aarch64_aapcs_win => .normal,
|
||||
.aarch64_vfabi => .LLVM_AAPCS,
|
||||
.aarch64_vfabi_sve => .LLVM_AAPCS,
|
||||
|
||||
.arm_apcs => .nocall,
|
||||
.arm_apcs => .normal,
|
||||
.arm_aapcs => .LLVM_AAPCS,
|
||||
.arm_aapcs_vfp,
|
||||
.arm_aapcs16_vfp,
|
||||
@@ -3443,10 +3443,10 @@ fn updateType(
|
||||
|
||||
.m68k_rtd => .LLVM_M68kRTD,
|
||||
|
||||
.amdgcn_kernel,
|
||||
.amdgcn_kernel => .LLVM_OpenCLKernel,
|
||||
.nvptx_kernel,
|
||||
.spirv_kernel,
|
||||
=> .LLVM_OpenCLKernel,
|
||||
=> .nocall,
|
||||
|
||||
.x86_64_interrupt,
|
||||
.x86_interrupt,
|
||||
|
||||
Reference in New Issue
Block a user