1*dbf520f6SGeorgii RymarCompile the following like so to reproduce the input: 2*dbf520f6SGeorgii Rymar$ cl -c -O2 t.c -Z7 3*dbf520f6SGeorgii Rymarvoid g(); 4*dbf520f6SGeorgii Rymarstatic inline void f() { g(); } 5*dbf520f6SGeorgii Rymarstatic inline void h() { g(); } 6*dbf520f6SGeorgii Rymarvoid k() { 7*dbf520f6SGeorgii Rymar f(); 8*dbf520f6SGeorgii Rymar h(); 9*dbf520f6SGeorgii Rymar} 10*dbf520f6SGeorgii Rymar 11*dbf520f6SGeorgii RymarRUN: llvm-readobj --codeview %p/Inputs/codeview-inlinees.obj | FileCheck %s 12*dbf520f6SGeorgii Rymar 13*dbf520f6SGeorgii RymarCHECK: SubSectionType: InlineeLines (0xF6) 14*dbf520f6SGeorgii RymarCHECK: Inlinee: f (0x1003) 15*dbf520f6SGeorgii RymarCHECK: Inlinee: h (0x1004) 16*dbf520f6SGeorgii RymarCHECK-NOT: Inlinee: 17*dbf520f6SGeorgii Rymar 18*dbf520f6SGeorgii RymarCHECK: GlobalProcIdSym { 19*dbf520f6SGeorgii RymarCHECK: Kind: S_GPROC32_ID (0x1147) 20*dbf520f6SGeorgii RymarCHECK: DisplayName: k 21*dbf520f6SGeorgii RymarCHECK: LinkageName: k 22*dbf520f6SGeorgii RymarCHECK: } 23*dbf520f6SGeorgii RymarCHECK: InlineSiteSym 24*dbf520f6SGeorgii RymarCHECK: Kind: S_INLINESITE (0x114D) 25*dbf520f6SGeorgii RymarCHECK: Inlinee: h (0x1004) 26*dbf520f6SGeorgii RymarCHECK: InlineSiteSym 27*dbf520f6SGeorgii RymarCHECK: Kind: S_INLINESITE (0x114D) 28*dbf520f6SGeorgii RymarCHECK: Inlinee: f (0x1003) 29*dbf520f6SGeorgii RymarCHECK: InlineesSym { 30*dbf520f6SGeorgii RymarCHECK-NEXT: Kind: S_INLINEES (0x1168) 31*dbf520f6SGeorgii RymarCHECK-NEXT: Callers [ 32*dbf520f6SGeorgii RymarCHECK-NEXT: FuncID: f (0x1003) 33*dbf520f6SGeorgii RymarCHECK-NEXT: FuncID: h (0x1004) 34*dbf520f6SGeorgii RymarCHECK-NEXT: ] 35*dbf520f6SGeorgii RymarCHECK: } 36*dbf520f6SGeorgii RymarCHECK: ProcEnd { 37*dbf520f6SGeorgii RymarCHECK: Kind: S_PROC_ID_END (0x114F) 38*dbf520f6SGeorgii RymarCHECK: } 39