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

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 8 12:18:30 PDT 2018


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.


More information about the lldb-commits mailing list