mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-20 19:04:10 -04:00
0a4b888079
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340088 91177308-0d34-0410-b5e6-96231b3b80d8
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}}
|