diff options
author | Reid Kleckner <rnk@google.com> | 2017-04-11 16:26:15 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-04-11 16:26:15 +0000 |
commit | 6e545ffc4e99b16cab6494eba21dd3b6cf06ee68 (patch) | |
tree | 90459834c4fa5cc9175e13e308fe91ddb246c659 /lldb/packages/Python/lldbsuite/test/python_api/default-constructor | |
parent | 83d37dc0662ceb4489fceda0d3044a08ef5a6159 (diff) | |
download | bcm5719-llvm-6e545ffc4e99b16cab6494eba21dd3b6cf06ee68.tar.gz bcm5719-llvm-6e545ffc4e99b16cab6494eba21dd3b6cf06ee68.zip |
[PDB] Emit index/offset pairs for TPI and IPI streams
Summary:
This lets PDB readers lookup type record data by type index in O(log n)
time. It also enables makes `cvdump -t` work on PDBs produced by LLD.
cvdump will not dump a PDB that doesn't have an index-to-offset table.
The table is sorted by type index, and has an entry every 8KB. Looking
up a type record by index is a binary search of this table, followed by
a scan of at most 8KB.
Reviewers: ruiu, zturner, inglorion
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D31636
llvm-svn: 299958
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/default-constructor')
0 files changed, 0 insertions, 0 deletions