diff options
| author | Zachary Turner <zturner@google.com> | 2018-03-29 17:45:34 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2018-03-29 17:45:34 +0000 |
| commit | f4b6dcf6af9d1ef38f60f112c8ccbf2521e07e88 (patch) | |
| tree | 3a56ccb2377f67382f77c651d42f89dcd017b0e4 /llvm/test | |
| parent | 7d89ce97ecab86c0b48bce46ab51535ec9950c68 (diff) | |
| download | bcm5719-llvm-f4b6dcf6af9d1ef38f60f112c8ccbf2521e07e88.tar.gz bcm5719-llvm-f4b6dcf6af9d1ef38f60f112c8ccbf2521e07e88.zip | |
[PDB] Print some more details when explaining MSF fields.
When we determine that a field belongs to an MSF super block or
the free page map, we wouldn't print any additional information.
With this patch, we now print the value of the field (for super
block fields) or the allocation status of the specified byte (in
the case of offsets in the FPM).
llvm-svn: 328808
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/tools/llvm-pdbdump/explain.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-pdbdump/explain.test b/llvm/test/tools/llvm-pdbdump/explain.test index e65027bdabb..d76e86add2d 100644 --- a/llvm/test/tools/llvm-pdbdump/explain.test +++ b/llvm/test/tools/llvm-pdbdump/explain.test @@ -40,6 +40,7 @@ FORTY: Block:Offset = 0:0028. FORTY-NEXT: Address is in block 0 (allocated). FORTY-NEXT: This corresponds to offset 40 of the MSF super block, FORTY-NEXT: which contains the number of blocks in the file. +FORTY-NEXT: The current value is 29. SIXTY: Block:Offset = 0:003C. SIXTY-NEXT: Address is in block 0 (allocated). @@ -50,6 +51,7 @@ FPM1: Block:Offset = 1:0000. FPM1-NEXT: Address is in block 1 (allocated). FPM1-NEXT: Address is in FPM1 (Alt FPM) FPM1-NEXT: Address describes the allocation status of blocks [0,8) +FPM1-NEXT: Status = 00000011 (Note: 0 = allocated, 1 = free) EXTRANEOUSFPM: Block:Offset = 1:0100. EXTRANEOUSFPM-NEXT: Address is in block 1 (allocated). @@ -60,6 +62,7 @@ FPM2: Block:Offset = 2:0000. FPM2-NEXT: Address is in block 2 (allocated). FPM2-NEXT: Address is in FPM2 (Main FPM) FPM2-NEXT: Address describes the allocation status of blocks [0,8) +FPM2-NEXT: Status = 00011100 (Note: 0 = allocated, 1 = free) UNALLOCATED: Block:Offset = 3:0000. UNALLOCATED-NEXT: Address is in block 3 (unallocated). |

