3 Input object file reconstruction:
7 ; virtual int V2() { return 42; }
10 ; struct Derived : public Base {
11 ; int V2() override { return 42; }
20 clang-cl /Z7 /GS- /GR- /c main.cpp /Foglobals-dia-vfunc-simple.obj
22 RUN: lld-link /debug /nodefaultlib /entry:main /out:%t.exe %S/Inputs/globals-dia-vfunc-simple.obj
23 RUN: llvm-pdbutil pretty -classes %t.pdb | FileCheck %s
25 CHECK: func [0x00001070+ 0 - 0x0000107c-12 | sizeof= 12] (FPO) virtual {{.*}}V2()
26 CHECK: func [0x000010a0+ 0 - 0x000010ac-12 | sizeof= 12] (FPO) virtual {{.*}}V2()