Any plan to update -finstrument-function for __notify_intrinsic?

Any plan to update -finstrument-function for __notify_intrinsic?

Now that the compiler supports the excellent __notify_intrinsic functionality, it would seem to make a lot of sense to provide an alternate version of the -finstrument-function compiler option.  Namely, -finstrument-function inserts additional *function calls* at the beginning and end of every compiled function, with the function implementations supplied by the user.  But it would be much more flexible (and cheaper) to insert notify intrinsics instead, allowing the user to decide when and how to instrument those functions, at load time or runtime.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Oops, typo -- that should be "-finstrument-functions".  Including that here so search hopefully catches it.

Leave a Comment

Please sign in to add a comment. Not a member? Join today