Open jrmuizel opened 1 year ago
This data is referenced in the header here: https://github.com/willglynn/pdb/blob/b052964e09d03eb190c8a60dc76344150ff8a9df/src/tpi/header.rs#L31
ItemFinder
currently builds such an index -> offset map itself (in the positions
Vec). It would be great if it could use this existing table.
For reference, here is the link to the LLVM code cited by OP: https://github.com/llvm/llvm-project/blob/962c306a11d0a21c884c12e18825b8a41ba1bd7d/llvm/include/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h#L35-L40
From LLVM: