1; Test that the native PDB reader can enumerate the compilands. 2; RUN: llvm-pdbutil pretty -native -compilands %p/../Inputs/empty.pdb \ 3; RUN: | FileCheck -check-prefix=EMPTY %s 4; RUN: llvm-pdbutil pretty -native -compilands %p/../Inputs/big-read.pdb \ 5; RUN: | FileCheck -check-prefix=BIGREAD %s 6 7; Reference output was generated with the DIA reader to ensure that the 8; `-native` option produces identical output. The paths output will have 9; backslashes even on non-Windows platforms because they are from PDBs built 10; on Windows. The path prefixes have been elided because those may be 11; machine-specific. 12 13EMPTY:---COMPILANDS--- 14EMPTY: \llvm\test\DebugInfo\PDB\Inputs\empty.obj 15EMPTY: * Linker * 16 17BIGREAD:---COMPILANDS--- 18BIGREAD: \llvm\test\tools\llvm-symbolizer\pdb\Inputs\test.obj 19BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\_cpu_disp_.obj 20BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\_initsect_.obj 21BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\_sehprolg4_.obj 22BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\_chandler4gs_.obj 23BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\_secchk_.obj 24BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\gs_cookie.obj 25BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\gs_report.obj 26BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\gs_support.obj 27BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\checkcfg.obj 28BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\guard_support.obj 29BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\loadcfg.obj 30BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\dyn_tls_dtor.obj 31BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\dyn_tls_init.obj 32BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\matherr_detection.obj 33BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\ucrt_detection.obj 34BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\argv_mode.obj 35BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\commit_mode.obj 36BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\default_local_stdio_options.obj 37BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\denormal_control.obj 38BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\env_mode.obj 39BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\file_mode.obj 40BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\invalid_parameter_handler.obj 41BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\matherr.obj 42BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\new_mode.obj 43BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\thread_locale.obj 44BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\tncleanup.obj 45BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\exe_main.obj 46BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\initializers.obj 47BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\utility.obj 48BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\ucrt_stubs.obj 49BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\utility_desktop.obj 50BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\default_precision.obj 51BIGREAD: Import:KERNEL32.dll 52BIGREAD: KERNEL32.dll 53BIGREAD: Import:VCRUNTIME140.dll 54BIGREAD: VCRUNTIME140.dll 55BIGREAD: Import:api-ms-win-crt-stdio-l1-1-0.dll 56BIGREAD: api-ms-win-crt-stdio-l1-1-0.dll 57BIGREAD: Import:api-ms-win-crt-runtime-l1-1-0.dll 58BIGREAD: api-ms-win-crt-runtime-l1-1-0.dll 59BIGREAD: Import:api-ms-win-crt-math-l1-1-0.dll 60BIGREAD: api-ms-win-crt-math-l1-1-0.dll 61BIGREAD: Import:api-ms-win-crt-locale-l1-1-0.dll 62BIGREAD: api-ms-win-crt-locale-l1-1-0.dll 63BIGREAD: Import:api-ms-win-crt-heap-l1-1-0.dll 64BIGREAD: api-ms-win-crt-heap-l1-1-0.dll 65BIGREAD: * Linker * 66