summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-08-01 21:19:45 +0000
committerZachary Turner <zturner@google.com>2016-08-01 21:19:45 +0000
commitd3c7b8e303e96fae3ab0c3fc6a42f7f8b87a17e4 (patch)
tree90e2fca0d8963e50c19084b3bb7551035750aaac /llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
parente594277683e686a30fe63b90ccd43e5cdebe24c3 (diff)
downloadbcm5719-llvm-d3c7b8e303e96fae3ab0c3fc6a42f7f8b87a17e4.tar.gz
bcm5719-llvm-d3c7b8e303e96fae3ab0c3fc6a42f7f8b87a17e4.zip
[msf] Teach LLVM to parse a split Fpm.
The FPM is split at regular intervals across the MSF file, as the MS code suggests. It turns out that the value of the interval is precisely the block size. If the block size is 4096, then there are two Fpm pages every 4096 blocks. So here we teach the PDBFile class to parse a split FPM, and also add more options when dumping the FPM to display some additional information such as orphaned pages (pages which the FPM says are allocated, but which nothing appears to use), use after free pages (pages which the FPM says are not allocated, but which are referenced by a stream), and multiple use pages (pages which the FPM says are allocated but are used more than once). Reviewed By: ruiu Differential Revision: https://reviews.llvm.org/D23022 llvm-svn: 277388
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud