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

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 7 07:34:40 PDT 2018

labath added a comment.

In https://reviews.llvm.org/D47708#1125030, @aleksandr.urakov wrote:

> In https://reviews.llvm.org/D47708#1124994, @zturner wrote:
> > As a general rule, lld-link is command line compatible with MSVC and
> >  clang-cl is command line compatible with cl.  So, the /order option should
> >  work exactly the same with lld-link as it does with link.
> It seeems that it is not implemented:
> >>lld-link /debug /nodefaultlib /entry:main /order:@test-pdb-function-level-linking.ord test-pdb-function-level-linking.obj
> >  C:\LLVM\bin\lld-link.EXE: error: could not open /order:@test-pdb-function-level-linking.ord: no such file or directory
> `lld-link /?` also don't list such option.

That's strange. I've learned of this option by browsing the lld-link /? output (I didn't check whether it works though). Are you sure you are on the latest master branch of llvm?


More information about the lldb-commits mailing list