[PATCH] D22666: Frontend: Fix mcount inlining bug

Honggyu Kim via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 26 19:01:20 PDT 2016


honggyu.kim added a comment.

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


https://reviews.llvm.org/D22666





More information about the cfe-commits mailing list