dbi-bytes.test 4.3 KB
; RUN: llvm-pdbutil bytes -ec %p/Inputs/empty.pdb | FileCheck --check-prefix=EC %s
; RUN: llvm-pdbutil bytes -files %p/Inputs/empty.pdb | FileCheck --check-prefix=FILES %s
; RUN: llvm-pdbutil bytes -modi %p/Inputs/empty.pdb | FileCheck --check-prefix=MODI %s
; RUN: llvm-pdbutil bytes -sc %p/Inputs/empty.pdb | FileCheck --check-prefix=SC %s
; RUN: llvm-pdbutil bytes -sm %p/Inputs/empty.pdb | FileCheck --check-prefix=SM %s
; RUN: llvm-pdbutil bytes -type-server %p/Inputs/empty.pdb | FileCheck --check-prefix=TYPE-SERVER %s

EC:                         Edit and Continue Data
EC-NEXT: ============================================================
EC-NEXT:   Edit and Continue Data (
EC-NEXT:     E280: FEEFFEEF 01000000 31000000 00643A5C 7372635C 6C6C766D 5C746573 745C4465  |........1....d:\src\llvm\test\De|
EC-NEXT:     E2A0: 62756749 6E666F5C 5044425C 496E7075 74735C65 6D707479 2E706462 00020000  |bugInfo\PDB\Inputs\empty.pdb....|
EC-NEXT:     E2C0: 00010000 00000000 00010000 00                                            |.............|
EC-NEXT:   )

FILES:                               File Info
FILES-NEXT: ============================================================
FILES-NEXT:   File Info (
FILES-NEXT:     E240: 02000100 00000100 01000000 00000000 643A5C73 72635C6C 6C766D5C 74657374  |................d:\src\llvm\test|
FILES-NEXT:     E260: 5C646562 7567696E 666F5C70 64625C69 6E707574 735C656D 7074792E 63707000  |\debuginfo\pdb\inputs\empty.cpp.|
FILES-NEXT:   )

MODI:                              Module Infos
MODI-NEXT: ============================================================
MODI-NEXT:   Module Infos (
MODI-NEXT:     E040: 00000000 01000000 10000000 0A000000 20005060 00000000 347497D7 00000000  |................ .P`....4t......|
MODI-NEXT:     E060: 00000C00 D0000000 00000000 58000000 01000000 D035E900 00000000 00000000  |............X........5..........|
MODI-NEXT:     E080: 643A5C73 72635C6C 6C766D5C 74657374 5C446562 7567496E 666F5C50 44425C49  |d:\src\llvm\test\DebugInfo\PDB\I|
MODI-NEXT:     E0A0: 6E707574 735C656D 7074792E 6F626A00 643A5C73 72635C6C 6C766D5C 74657374  |nputs\empty.obj.d:\src\llvm\test|
MODI-NEXT:     E0C0: 5C446562 7567496E 666F5C50 44425C49 6E707574 735C656D 7074792E 6F626A00  |\DebugInfo\PDB\Inputs\empty.obj.|
MODI-NEXT:     E0E0: 00000000 01000000 00000000 0A000000 20000060 01000000 00000000 00000000  |................ ..`............|
MODI-NEXT:     E100: 00000E00 04020000 00000000 00000000 00000000 00000000 00000000 01000000  |................................|
MODI-NEXT:     E120: 2A204C69 6E6B6572 202A0000                                               |* Linker *..|
MODI-NEXT:   )

SC:                         Section Contributions
SC-NEXT: ============================================================
SC-NEXT:   Section Contributions (
SC-NEXT:     E12C: 2DBA2EF1 01002511 00000000 0A000000 20000060 01000000 00000000 00000000  |-.....%......... ..`............|
SC-NEXT:     E14C: 01000000 10000000 0A000000 20005060 00000000 347497D7 00000000 02000000  |............ .P`....4t..........|
SC-NEXT:     E16C: 00000000 38000000 40000040 01000000 00000000 00000000 02000000 44010000  |....8...@..@................D...|
SC-NEXT:     E18C: 48000000 40003040 01000000 00000000 00000000 02000000 8C010000 14000000  |H...@.0@........................|
SC-NEXT:     E1AC: 40003040 01000000 00000000 00000000 03000000 00000000 04000000 800030C0  |@.0@..........................0.|
SC-NEXT:     E1CC: 00000000 00000000 00000000                                               |............|
SC-NEXT:   )

SM:                              Section Map
SM-NEXT: ============================================================
SM-NEXT:   Section Map (
SM-NEXT:     E1D8: 05000500 0D010000 00000100 FFFFFFFF 00000000 1A100000 09010000 00000200  |................................|
SM-NEXT:     E1F8: FFFFFFFF 00000000 B2020000 0B010000 00000300 FFFFFFFF 00000000 04000000  |................................|
SM-NEXT:     E218: 09010000 00000400 FFFFFFFF 00000000 08000000 08020000 00000000 FFFFFFFF  |................................|
SM-NEXT:     E238: 00000000 FFFFFFFF                                                        |........|
SM-NEXT:   )

TYPE-SERVER:                            Type Server Map
TYPE-SERVER-NEXT: ============================================================
TYPE-SERVER-NEXT:   Type Server Map (
TYPE-SERVER-NEXT:   )