summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/DebugInfo/MSF/MSFCommonTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [MSF] Fix FPM interval calcluationZachary Turner2018-01-051-5/+40
| | | | | | | | | | | | | We have some code to try to determine how many pieces an MSF Free Page Map is split into, and this code had an off by one error which would cause the calculation to be incorrect when there were exactly 4096*k + 1 blocks in an MSF file. Original investigation and patch outline by Colden Cullen. Differential Revision: https://reviews.llvm.org/D41742 llvm-svn: 321880
* [pdb/lld] Write a valid FPM.Zachary Turner2017-08-021-0/+104
The PDB reserves certain blocks for the FPM that describe which blocks in the file are allocated and which are free. We weren't filling that out at all, and in some cases we were even stomping it with incorrect data. This patch writes a correct FPM. Differential Revision: https://reviews.llvm.org/D36235 llvm-svn: 309896
OpenPOWER on IntegriCloud