brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.6 KiB · 1179fe5 Raw
89 lines · plain
1; REQUIRES: diasdk2 3; RUN: llvm-pdbutil explain -offset=0 %p/Inputs/InjectedSource.pdb \4; RUN:  | FileCheck --check-prefix=ZERO %s5; RUN: llvm-pdbutil explain -offset=40 %p/Inputs/InjectedSource.pdb \6; RUN:  | FileCheck --check-prefix=FORTY %s7; RUN: llvm-pdbutil explain -offset=60 %p/Inputs/InjectedSource.pdb \8; RUN:  | FileCheck --check-prefix=SIXTY %s9 10; RUN: llvm-pdbutil explain -offset=0x1000 %p/Inputs/InjectedSource.pdb \11; RUN:  | FileCheck --check-prefix=FPM1 %s12; RUN: llvm-pdbutil explain -offset=0x1100 %p/Inputs/InjectedSource.pdb \13; RUN:  | FileCheck --check-prefix=EXTRANEOUSFPM %s14; RUN: llvm-pdbutil explain -offset=0x2000 %p/Inputs/InjectedSource.pdb \15; RUN:  | FileCheck --check-prefix=FPM2 %s16 17; RUN: llvm-pdbutil explain -offset=0x3000 %p/Inputs/InjectedSource.pdb \18; RUN:  | FileCheck --check-prefix=UNALLOCATED %s19 20; RUN: llvm-pdbutil explain -offset=0x7000 %p/Inputs/InjectedSource.pdb \21; RUN:  | FileCheck --check-prefix=STREAM %s22 23; RUN: llvm-pdbutil explain -offset=0x1A000 %p/Inputs/InjectedSource.pdb \24; RUN:  | FileCheck --check-prefix=STREAMDIR %s25 26; RUN: llvm-pdbutil explain -offset=0x1B000 %p/Inputs/InjectedSource.pdb \27; RUN:  | FileCheck --check-prefix=DIRBLOCKLIST %s28 29; RUN: llvm-pdbutil explain -offset=0x1D000 %p/Inputs/InjectedSource.pdb \30; RUN:  | FileCheck --check-prefix=INVALIDFILEOFFSET %s31 32; RUN: llvm-pdbutil explain -offset=0xA100 %p/Inputs/InjectedSource.pdb \33; RUN:  | FileCheck --check-prefix=UNUSED %s34 35 36ZERO:      Block:Offset = 0:0000.37ZERO-NEXT: Address is in block 0 (allocated).38ZERO-NEXT:   This corresponds to offset 0 of the MSF super block,39ZERO-NEXT:   which is part of the MSF file magic.40 41FORTY:      Block:Offset = 0:0028.42FORTY-NEXT: Address is in block 0 (allocated).43FORTY-NEXT:   This corresponds to offset 40 of the MSF super block,44FORTY-NEXT:   which contains the number of blocks in the file.45FORTY-NEXT:   The current value is 29.46 47SIXTY:      Block:Offset = 0:003C.48SIXTY-NEXT: Address is in block 0 (allocated).49SIXTY-NEXT:   This corresponds to offset 60 of the MSF super block,50SIXTY-NEXT:   which is outside the range of valid data for the super block.51 52FPM1:      Block:Offset = 1:0000.53FPM1-NEXT: Address is in block 1 (allocated).54FPM1-NEXT:   Address is in FPM1 (Alt FPM)55FPM1-NEXT:   Address describes the allocation status of blocks [0,8)56FPM1-NEXT:   Status = 00000011 (Note: 0 = allocated, 1 = free)57 58EXTRANEOUSFPM:      Block:Offset = 1:0100.59EXTRANEOUSFPM-NEXT: Address is in block 1 (allocated).60EXTRANEOUSFPM-NEXT:   Address is in FPM1 (Alt FPM)61EXTRANEOUSFPM-NEXT:   Address is in extraneous FPM space.62 63FPM2:      Block:Offset = 2:0000.64FPM2-NEXT: Address is in block 2 (allocated).65FPM2-NEXT:   Address is in FPM2 (Main FPM)66FPM2-NEXT:   Address describes the allocation status of blocks [0,8)67FPM2-NEXT:   Status = 00011100 (Note: 0 = allocated, 1 = free)68 69UNALLOCATED:      Block:Offset = 3:0000.70UNALLOCATED-NEXT: Address is in block 3 (unallocated).71 72STREAM:      Block:Offset = 7:0000.73STREAM-NEXT: Address is in block 7 (allocated).74STREAM-NEXT:   Address is at offset 0/684 of Stream 12 (Module "* Linker *").75 76STREAMDIR:      Block:Offset = 1A:0000.77STREAMDIR-NEXT: Address is in block 26 (allocated).78STREAMDIR-NEXT:   Address is at offset 0/156 of Stream Directory.79 80DIRBLOCKLIST:      Block:Offset = 1B:0000.81DIRBLOCKLIST-NEXT: Address is in block 27 (allocated).82DIRBLOCKLIST-NEXT:   Address is at offset 0 of the directory block list83 84INVALIDFILEOFFSET: Address 118784 is not in the file (file size = 118784).85 86UNUSED:      Block:Offset = A:0100.87UNUSED-NEXT: Address is in block 10 (allocated).88UNUSED-NEXT:   Address is at offset 256/120 of Stream 11 (Section Header Data) in unused space.89