[PATCH] D16228: [Verifier] Check that all subprogram definitions are reachable from dbg.cu

Diego Novillo via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 18 10:50:48 PST 2016


On Fri, Jan 15, 2016 at 6:44 PM, David Blaikie via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

>
> Plausible - don't mind too much. Trying to rope Diego in so he can speak
> more specifically about the functionality and how it's tested (or not, as
> it would seem).
>

We need to enable debug info when -fprofile-sample-use= is on the command
line.  This gives the sample PGO pass line number information needed to
match samples, but prevents the code generator from emitting debug info in
the final binary.

I was pretty sure I had a test for this.  But it's been a while.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160118/1e62881a/attachment.html>


More information about the llvm-commits mailing list