1RUN: llvm-pdbutil dump -section-headers %p/Inputs/empty.pdb | FileCheck %s 2 3CHECK: Section Headers 4CHECK-NEXT: ============================================================ 5CHECK-LABEL: SECTION HEADER #1 6CHECK-NEXT: .text name 7CHECK-NEXT: 101A virtual size 8CHECK-NEXT: 1000 virtual address 9CHECK-NEXT: 1200 size of raw data 10CHECK-NEXT: 400 file pointer to raw data 11CHECK-NEXT: 0 file pointer to relocation table 12CHECK-NEXT: 0 file pointer to line numbers 13CHECK-NEXT: 0 number of relocations 14CHECK-NEXT: 0 number of line numbers 15CHECK-NEXT: 60000020 flags 16CHECK-NEXT: IMAGE_SCN_CNT_CODE 17CHECK-NEXT: IMAGE_SCN_MEM_EXECUTE 18CHECK-NEXT: IMAGE_SCN_MEM_READ 19 20CHECK-LABEL: SECTION HEADER #2 21CHECK-NEXT: .rdata name 22CHECK-NEXT: 2B2 virtual size 23CHECK-NEXT: 3000 virtual address 24CHECK-NEXT: 400 size of raw data 25CHECK-NEXT: 1600 file pointer to raw data 26CHECK-NEXT: 0 file pointer to relocation table 27CHECK-NEXT: 0 file pointer to line numbers 28CHECK-NEXT: 0 number of relocations 29CHECK-NEXT: 0 number of line numbers 30CHECK-NEXT: 40000040 flags 31CHECK-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA 32CHECK-NEXT: IMAGE_SCN_MEM_READ 33 34CHECK-LABEL: SECTION HEADER #3 35CHECK-NEXT: .data name 36CHECK-NEXT: 4 virtual size 37CHECK-NEXT: 4000 virtual address 38CHECK-NEXT: 0 size of raw data 39CHECK-NEXT: 0 file pointer to raw data 40CHECK-NEXT: 0 file pointer to relocation table 41CHECK-NEXT: 0 file pointer to line numbers 42CHECK-NEXT: 0 number of relocations 43CHECK-NEXT: 0 number of line numbers 44CHECK-NEXT: C0000040 flags 45CHECK-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA 46CHECK-NEXT: IMAGE_SCN_MEM_READ 47CHECK-NEXT: IMAGE_SCN_MEM_WRITE 48 49CHECK-LABEL: SECTION HEADER #4 50CHECK-NEXT: .reloc name 51CHECK-NEXT: 8 virtual size 52CHECK-NEXT: 5000 virtual address 53CHECK-NEXT: 200 size of raw data 54CHECK-NEXT: 1A00 file pointer to raw data 55CHECK-NEXT: 0 file pointer to relocation table 56CHECK-NEXT: 0 file pointer to line numbers 57CHECK-NEXT: 0 number of relocations 58CHECK-NEXT: 0 number of line numbers 59CHECK-NEXT: 42000040 flags 60CHECK-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA 61CHECK-NEXT: IMAGE_SCN_MEM_DISCARDABLE 62CHECK-NEXT: IMAGE_SCN_MEM_READ 63 64CHECK: Original Section Headers 65CHECK-NEXT: ============================================================ 66CHECK-NEXT: PDB does not contain the requested image section header type 67