This is an archive of the discontinued LLVM Phabricator instance.

Implement AddSymbols method for SymbolFileNativePDB
Needs ReviewPublic

Authored by amccarth on Jun 25 2021, 2:54 PM.

Details

Reviewers
rnk
Summary

In theory, this adds symbols from the module's PDB file to the symtab. This implementation was modeled after the one in SymbolFilePDB, so it relies on the same IPDBSession abstraction as the DIA-based PDB reader.
Unfortunately, the native reader implementation of that interface was not fully implemented, so the attempt to find the public symbols comes up empty. The result is that this patch has no functional change (and thus there are no meaningful tests to write).

I am currently investigating whether to implement the abstraction or to use the lower level native PDB reader interface directly in SymbolFileNativePDB.

Diff Detail

Event Timeline

amccarth requested review of this revision.Jun 25 2021, 2:54 PM
amccarth created this revision.