[PATCH] D22666: Frontend: Fix mcount inlining bug

Hal Finkel via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 26 19:04:59 PDT 2016


hfinkel added a comment.

In https://reviews.llvm.org/D22666#497085, @honggyu.kim wrote:

> In https://reviews.llvm.org/D22666#496355, @hfinkel wrote:
>
> > Here's a patch for the backend part: https://reviews.llvm.org/D22825 - If this makes sense to everyone, we can change the frontend to add the corresponding attribute instead of inserting the function calls directly.
>
>
> I appreciate your help.


No problem.

>   I think I can write the frontend part that inserts 'counting-function' attribute when -pg is enabled. Please let me do this work!


Great, please do :-)


https://reviews.llvm.org/D22666





More information about the cfe-commits mailing list