mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-21 18:22:53 +01:00
Demangle: correct swift_async demangling for Microsoft scheme
The emission was corrected for the swift_async calling convention but the demangling support was not. This repairs the demangling support as well.
This commit is contained in:
parent
0af449d2a7
commit
ba012f02f8
@ -1713,7 +1713,7 @@ CallingConv Demangler::demangleCallingConvention(StringView &MangledName) {
|
|||||||
return CallingConv::Vectorcall;
|
return CallingConv::Vectorcall;
|
||||||
case 'S':
|
case 'S':
|
||||||
return CallingConv::Swift;
|
return CallingConv::Swift;
|
||||||
case 'T':
|
case 'W':
|
||||||
return CallingConv::SwiftAsync;
|
return CallingConv::SwiftAsync;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -341,7 +341,7 @@
|
|||||||
?swift_func@@YSXXZ
|
?swift_func@@YSXXZ
|
||||||
; CHECK: void __attribute__((__swiftcall__)) swift_func(void)
|
; CHECK: void __attribute__((__swiftcall__)) swift_func(void)
|
||||||
|
|
||||||
?swift_async_func@@YTXXZ
|
?swift_async_func@@YWXXZ
|
||||||
; CHECK: void __attribute__((__swiftasynccall__)) swift_async_func(void)
|
; CHECK: void __attribute__((__swiftasynccall__)) swift_async_func(void)
|
||||||
|
|
||||||
??$fn_tmpl@$1?extern_c_func@@YAXXZ@@YAXXZ
|
??$fn_tmpl@$1?extern_c_func@@YAXXZ@@YAXXZ
|
||||||
|
Loading…
Reference in New Issue
Block a user