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

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 8 12:23:12 PDT 2018


Ahh sorry, I jumped in kinda late and the thread was already quite long so
I didn’t read everything. It would probably be some overhead to learn how
to write the asm files but you can probably have clang-cl generate one for
you and just move the directives around
On Fri, Jun 8, 2018 at 12:18 PM Pavel Labath <labath at google.com> wrote:

> On Fri, 8 Jun 2018 at 19:58, Zachary Turner <zturner at google.com> wrote:
> >
> >
> >
> > On Fri, Jun 8, 2018 at 11:52 AM Pavel Labath <labath at google.com> wrote:
> >>
> >> On Fri, 8 Jun 2018 at 18:48, Leonard Mosescu <mosescu at google.com>
> wrote:
> >> >
> >> > To me, a linker order file (of any linker) sounds like a good
> >> abstraction level for generating that kind of input (on linux, I might
> >> have preferred a .s file with hardcoded .loc directives, but that
> >> doesn't seem to be a thing on windows).
> >
> >
> > Why not?  I think that would work fine (it’s called .cv_loc in codeview
> though)
>
> Because I didn't know that's possible? :D
>
> I dropped a remark about .s files several pages back but noone picked
> it up, so I assumed it's infeasible for some reason. If that is the
> case, then this really sounds like a good idea. This way we should be
> even able to generate the split function without relying on PGO or
> checked-in binaries.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180608/60f1f5f4/attachment.html>


More information about the lldb-commits mailing list