Do Iar arm compiler have options like gcc compiler: -finstrument-functions ?
Surely, IAR are the people to ask ?
https://www.iar.com/support/#!?tab=resources
They have no answer.
Well, if IAR don't know about their own compiler - what chance does anyone else stand?!
Note that this forum is for questions related to ARM's own compilers - not 3rd parties like IAR.