1REQUIRES: diasdk 2 3Input object file reconstruction: 4 5; // main.cpp 6; struct S { 7; // Function names are chosen specifically to generate hash collisions in the 8; // GSI hash table. 9; virtual int A132() { return 102; } 10; virtual int A1001() { return 300; } 11; }; 12; 13; int main(int argc, char **argv) { 14; S s; 15; return s.A132(); 16; } 17 18clang-cl /Z7 /GS- /GR- /c main.cpp /Foglobals-dia-vfunc-collision2.obj 19 20RUN: lld-link /debug /nodefaultlib /entry:main /out:%t.exe %S/Inputs/globals-dia-vfunc-collision2.obj 21RUN: llvm-pdbutil pretty -classes %t.pdb | FileCheck %s 22 23CHECK: struct S 24CHECK: func [0x00001060+ 0 - 0x0000106c-12 | sizeof= 12] (FPO) virtual {{.*}}A132() 25CHECK: func [0x00001070+ 0 - 0x0000107c-12 | sizeof= 12] (FPO) virtual {{.*}}A1001() 26