Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
7 Views

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.

0 Kudos
1 Reply
Highlighted
Beginner
7 Views

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

0 Kudos