mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
491ab30567
We were only printing the vtordisp thunk before as the previous patch was more aimed at getting special operators working, one of which was a thunk. This patch gets all thunk types to print properly, and adds a test for each one. llvm-svn: 340088
16 lines
487 B
Plaintext
16 lines
487 B
Plaintext
; RUN: llvm-undname < %s | FileCheck %s
|
|
|
|
; CHECK-NOT: Invalid mangled name
|
|
|
|
?f@C@@WBA@EAAHXZ
|
|
; CHECK: [thunk]: virtual int __cdecl C::f`adjustor{16}'(void)
|
|
|
|
??_EDerived@@$4PPPPPPPM@A@EAAPEAXI@Z
|
|
; CHECK: [thunk]: virtual void * __cdecl Derived::`vector deleting dtor'`vtordisp{-4, 0}'(unsigned int)
|
|
|
|
?f@A@simple@@$R477PPPPPPPM@7AEXXZ
|
|
; CHECK: [thunk]: virtual void __thiscall simple::A::f`vtordispex{8, 8, -4, 8}'(void)
|
|
|
|
??_9Base@@$B7AA
|
|
; CHECK: [thunk]: __cdecl Base::`vcall'{8, {flat}}
|