[Lldb-commits] [PATCH] D47708: PDB support of function-level linking and splitted functions
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 7 06:00:21 PDT 2018
On Thu, Jun 7, 2018 at 2:53 AM Aleksandr Urakov via Phabricator <
reviews at reviews.llvm.org> wrote:
> aleksandr.urakov added a comment.
> Yes, it does really need to be a VS PDB. Function-level linking is a
> linker's feature and I can't found support of this feature in lld, so I
> think module addresses inconsistency will not be reproducible with lld.
Function level linking is a compiler feature, not a linker feature. It's
enabled via the /Gy option in the compiler and causes the compiler to put
each function into its own COMDAT. The linker can then use this to discard
more functions (e.g. during /OPT:REF).
clang-cl also supports the /Gy option, right?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-commits