[PATCH] D14464: Add discriminators for call instructions that are from the same line and same basic block.

Dehao Chen via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 6 17:38:32 PST 2015


danielcdh added a comment.

Sure, we can redesign the sample profile format to index using (line, column), but this will lead to:

- profile size would nearly double
- llvm will not be able to use gcc profile

I can do the experiment to measure the debug info impact of this patch. As discriminator does not happen quite often, so it will only add very small amount to the debug info size.


http://reviews.llvm.org/D14464





More information about the llvm-commits mailing list