Description
My only concern with the
pdb
crate is it doesn't look like it's been updated in awhile. It's probably fine (it has few dependencies by the looks of it) but it makes me slightly wary.[..] I think long term it would be good to use official debugging APIs on Windows hosts and only fallback to the
pdb
crate on other platforms (or maybe if they're unavailable for some reason).
Currently, some run-make tests use llvm-pdbutil
to inspect PDB for symbols and other purposes, but operating on llvm-pdbutil
's textual output seems rather fragile, as between llvm-pdbutil
versions that's not guaranteed to stay the same (there's an pdb2yaml
subcommand, but then we're still parsing yaml?).
Consider introducing Windows Debug Interface Access (DIA) API wrappers to perform PDB analysis programmatically via the Officially Recommended ™️ way instead.