On Thu, Jun 7, 2018 at 2:53 AM Aleksandr Urakov via Phabricator < revi...@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?
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits