[PATCH] D29309: [PM] Add support for instrumented PGO in the new pass manager (clang-side)

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 10 11:40:32 PST 2017


I don't have any more concerns.

thanks,

David

On Fri, Feb 10, 2017 at 11:28 AM, Chandler Carruth via Phabricator <
reviews at reviews.llvm.org> wrote:

> chandlerc added a comment.
>
> FWIW, this all looks good on my end. David, does this address your concern?
>
>
>
> ================
> Comment at: lib/CodeGen/BackendUtil.cpp:63-65
>
> +// Default filename used for profile generation.
> +static constexpr StringLiteral DefaultProfileGenName =
> "default_%m.profraw";
> ----------------
> davide wrote:
> > davide wrote:
> > > FWIW, this was part of `AssemblyHelper` initially.
> > > I thought that worked, instead I got a linker error (undefined
> reference to etc..)
> > > I can't claim to be a C++ expert so I asked @Bigcheese and he pointed
> out this could actually be a bug in clang.
> > Just for the records, not a clang bug, it's missing an out-of-line def
> (thanks zygoloid for pointing out)
> As discussed in IRC, looks like we know how to sink this into the class
> now.
>
>
> https://reviews.llvm.org/D29309
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170210/3ccef90b/attachment.html>


More information about the llvm-commits mailing list