honggyu.kim added a comment.

Hi John and Hans,

I don't know if I found right reviewers for this patch, but could you please 
have a look at it?
I found this problem while I was trying to profile a binary that is compiled 
with -pg and -O2 as I reported in bugzilla.
https://llvm.org/bugs/show_bug.cgi?id=28660

I know the better approach is to do function inlining first, then insert mcount 
calls for each function remained. But this can fix the problem in a simpler way 
as of now. If anyone can give me some guide or someone can move mcount 
insertion phase later, that would be also good.

Thanks,
Honggyu


https://reviews.llvm.org/D22666



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to