llvm-project/llvm/test/DebugInfo/PDB
Zachary Turner 3203e27473 [MSF] Default to FPM2, and always mark FPM pages allocated.
There are two FPMs in an MSF file, the idea being that for
incremental updates you can write to the alternate one and then
atomically swap them on commit.  LLVM defaulted to using FPM1
on the first commit, but this differs from Microsoft's behavior
which is to default to using FPM2 on the first commit.  To
eliminate some byte-level file differences, this patch changes
LLVM's default to also be FPM2.

Additionally, LLVM was trying to be "smart" about marking FPM
pages allocated.  In addition to marking every page belonging
to the alternate FPM as unallocated, LLVM also marked pages at
the end of the main FPM which were not needed as unallocated.

In order to match the behavior of Microsoft-generated PDBs, we
now always mark every FPM block as allocated, regardless of
whether it is in the main FPM or the alt FPM, and regardless of
whether or not it describes blocks which are actually in the file.

This has the side benefit of simplifying our code.

llvm-svn: 328812
2018-03-29 18:34:15 +00:00
..
DIA
Inputs Teach llvm-pdbutil to dump types from object files. 2017-12-05 23:58:18 +00:00
Native Enable llvm-pdbutil to list enumerations using native PDB reader 2017-08-04 22:37:58 +00:00
dbi-bytes.test
dump-fpm.test [pdbutil] Add a command to dump the FPM. 2017-08-02 22:25:52 +00:00
every-type.test [PDB] Add a test that verifies every known type record. 2017-07-05 18:43:25 +00:00
just-my-code.test [llvm-pdbutil] Add support for dumping detailed module stats. 2017-08-21 14:53:25 +00:00
module-bytes.test
module-stats.test [llvm-pdbutil] Print detailed S_UDT stats. 2017-08-31 20:43:22 +00:00
obj-globalhash.test Regex out the local hash comparison test. 2017-12-06 00:58:12 +00:00
pdb-longname-truncation.test
pdb-minimal-construct.test
pdb-unknown-symbol.test
pdb-yaml-symbols.test
pdbdump-debug-subsections.test
pdbdump-globals-empty.test [PDB] Handle an empty globals hash table with no buckets 2017-10-27 00:45:51 +00:00
pdbdump-headers.test [llvm-pdbutil] Add support for dumping detailed module stats. 2017-08-21 14:53:25 +00:00
pdbdump-merge-ids-and-types.test [PDB] Add a test that verifies every known type record. 2017-07-05 18:43:25 +00:00
pdbdump-mergeids.test
pdbdump-mergetypes.test [PDB] Add a test that verifies every known type record. 2017-07-05 18:43:25 +00:00
pdbdump-objfilename.yaml [llvm] Get rid of "%T" expansions 2017-08-15 20:29:24 +00:00
pdbdump-raw-blocks.test
pdbdump-raw-bytes.test
pdbdump-raw-stream.test
pdbdump-readwrite.test
pdbdump-source-names.test [llvm] Get rid of "%T" expansions 2017-08-15 20:29:24 +00:00
pdbdump-write.test
pdbdump-yaml-types.test
pdbdump-yaml.test
section-headers.test [llvm-pdbutil] Dump image section headers. 2017-08-04 20:02:38 +00:00
tpi-bytes.test
udt-stats.test [llvm-pdbutil] Print detailed S_UDT stats. 2017-08-31 20:43:22 +00:00
write-fpm.test [MSF] Default to FPM2, and always mark FPM pages allocated. 2018-03-29 18:34:15 +00:00