1; RUN: llvm-pdbutil dump -sym-stats %p/Inputs/empty.pdb | FileCheck --check-prefix=ALL %s 2; RUN: llvm-pdbutil dump -sym-stats -modi=1 %p/Inputs/empty.pdb | FileCheck --check-prefix=ONE %s 3 4ALL: Mod 0000 | `d:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj`: 5ALL-NEXT: Stream 12, 308 bytes 6ALL: Symbols 7ALL-NEXT: Total: 6 entries ( 204 bytes) 8ALL-NEXT: -------------------------------------------------------------------------- 9ALL-NEXT: S_COMPILE3: 1 entries ( 60 bytes) 10ALL-NEXT: S_OBJNAME: 1 entries ( 56 bytes) 11ALL-NEXT: S_GPROC32: 1 entries ( 44 bytes) 12ALL-NEXT: S_FRAMEPROC: 1 entries ( 32 bytes) 13ALL-NEXT: S_BUILDINFO: 1 entries ( 8 bytes) 14ALL-NEXT: S_END: 1 entries ( 4 bytes) 15ALL: Chunks 16ALL-NEXT: Total: 2 entries ( 88 bytes) 17ALL-NEXT: -------------------------------------------------------------------------- 18ALL-NEXT: DEBUG_S_LINES: 1 entries ( 56 bytes) 19ALL-NEXT: DEBUG_S_FILECHKSMS: 1 entries ( 32 bytes) 20ALL-NEXT: Mod 0001 | `* Linker *`: 21ALL-NEXT: Stream 14, 520 bytes 22ALL: Symbols 23ALL-NEXT: Total: 13 entries ( 512 bytes) 24ALL-NEXT: -------------------------------------------------------------------------- 25ALL-NEXT: S_ENVBLOCK: 1 entries ( 172 bytes) 26ALL-NEXT: S_COFFGROUP: 5 entries ( 140 bytes) 27ALL-NEXT: S_SECTION: 4 entries ( 112 bytes) 28ALL-NEXT: S_COMPILE3: 1 entries ( 48 bytes) 29ALL-NEXT: S_TRAMPOLINE: 1 entries ( 20 bytes) 30ALL-NEXT: S_OBJNAME: 1 entries ( 20 bytes) 31ALL: Chunks 32ALL-NEXT: Total: 0 entries ( 0 bytes) 33ALL-NEXT: -------------------------------------------------------------------------- 34ALL-NEXT: Summary | 35ALL: Symbols 36ALL-NEXT: Total: 19 entries ( 716 bytes) 37ALL-NEXT: -------------------------------------------------------------------------- 38ALL-NEXT: S_ENVBLOCK: 1 entries ( 172 bytes) 39ALL-NEXT: S_COFFGROUP: 5 entries ( 140 bytes) 40ALL-NEXT: S_SECTION: 4 entries ( 112 bytes) 41ALL-NEXT: S_COMPILE3: 2 entries ( 108 bytes) 42ALL-NEXT: S_OBJNAME: 2 entries ( 76 bytes) 43ALL-NEXT: S_GPROC32: 1 entries ( 44 bytes) 44ALL-NEXT: S_FRAMEPROC: 1 entries ( 32 bytes) 45ALL-NEXT: S_TRAMPOLINE: 1 entries ( 20 bytes) 46ALL-NEXT: S_BUILDINFO: 1 entries ( 8 bytes) 47ALL-NEXT: S_END: 1 entries ( 4 bytes) 48ALL: Chunks 49ALL-NEXT: Total: 2 entries ( 88 bytes) 50ALL-NEXT: -------------------------------------------------------------------------- 51ALL-NEXT: DEBUG_S_LINES: 1 entries ( 56 bytes) 52ALL-NEXT: DEBUG_S_FILECHKSMS: 1 entries ( 32 bytes) 53 54ONE-NOT: Mod 0000 55ONE: Mod 0001 | `* Linker *`: 56ONE-NEXT: Stream 14, 520 bytes 57ONE: Symbols 58ONE-NEXT: Total: 13 entries ( 512 bytes) 59ONE-NEXT: -------------------------------------------------------------------------- 60ONE-NEXT: S_ENVBLOCK: 1 entries ( 172 bytes) 61ONE-NEXT: S_COFFGROUP: 5 entries ( 140 bytes) 62ONE-NEXT: S_SECTION: 4 entries ( 112 bytes) 63ONE-NEXT: S_COMPILE3: 1 entries ( 48 bytes) 64ONE-NEXT: S_TRAMPOLINE: 1 entries ( 20 bytes) 65ONE-NEXT: S_OBJNAME: 1 entries ( 20 bytes) 66ONE: Chunks 67ONE-NEXT: Total: 0 entries ( 0 bytes) 68ONE-NEXT: -------------------------------------------------------------------------- 69ONE-NEXT: Summary | 70ONE: Symbols 71ONE-NEXT: Total: 13 entries ( 512 bytes) 72ONE-NEXT: -------------------------------------------------------------------------- 73ONE-NEXT: S_ENVBLOCK: 1 entries ( 172 bytes) 74ONE-NEXT: S_COFFGROUP: 5 entries ( 140 bytes) 75ONE-NEXT: S_SECTION: 4 entries ( 112 bytes) 76ONE-NEXT: S_COMPILE3: 1 entries ( 48 bytes) 77ONE-NEXT: S_TRAMPOLINE: 1 entries ( 20 bytes) 78ONE-NEXT: S_OBJNAME: 1 entries ( 20 bytes) 79ONE: Chunks 80ONE-NEXT: Total: 0 entries ( 0 bytes) 81ONE-NEXT: -------------------------------------------------------------------------- 82