[PATCH] D15997: [GCOV] Avoid emitting profile arcs for module and skeleton CU's

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 20 17:27:29 PST 2016


aprantl accepted this revision.
aprantl added a reviewer: aprantl.
aprantl added a comment.
This revision is now accepted and ready to land.

I'm not sure — this seems to be a fairly special use-case.

If modules did contain code (which they currently don't) we probably wouldn't want to skip them. But at the moment we cannot distinguish a skeleton CU from a module CU at the IR level.

Let's just change the comment to
// Skip module skeleton (and module) CUs.
and be done with it.


http://reviews.llvm.org/D15997





More information about the llvm-commits mailing list