[Lldb-commits] [PATCH] D47708: PDB support of function-level linking and splitted functions

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 6 19:06:25 PDT 2018


zturner added a subscriber: aleksandr.urakov.
zturner added a comment.

Do you just need a pdb, or does it really need to be a vs pdb? lld can
generate high quality pdbs now. So it might be possible to use lld to link
and produce a pdb when you run the test.

Pavel’s suggestion is equally viable, you can dump a pdb to yaml and
convert it back to a pdb at test time.

The real problem is the exe. It’s harder to generate exes at test time
because we have to ensure that dependent libraries are present on the
system.

If it has to be an msvc generated pdb, can you elaborate on why? Tbh I’m
not really against checking in pdbs. Exes I’d like to find a way to avoid
checking in wherever possible though. And even then, sometimes I don’t have
any better ideas other than compile and link before running the test


https://reviews.llvm.org/D47708





More information about the lldb-commits mailing list