gcc plugin : access to gimple post inlining

2019-12-08 Thread Vanush Vaswani
I'm writing a gcc plugin. Is there a recommended way to have a custom gimple pass with access to the post-inlined version of the function? Kind regards Vanush

How to avoid instrumenting function in a particular section?

2016-04-27 Thread Vanush Vaswani
Is it possible to avoid instrumenting functions (-finstrument-functions) if they are in a particular section?

Re: How to determine source location of pragma?

2016-01-12 Thread Vanush Vaswani
Thanks Manuel. Is there anyway to get this information with gcc 4.x.x? Regards, Vanush On Tue, Jan 12, 2016 at 5:17 AM, Manuel López-Ibáñez wrote: > On 11/01/16 01:08, Vanush Vaswani wrote: >> >> I am new to GCC internals. >> >> I'm trying to create a plugin

How to determine source location of pragma?

2016-01-10 Thread Vanush Vaswani
I am new to GCC internals. I'm trying to create a plugin to operate on pragmas. Currently have this working using c_register_pragma with a callback. The callback performs pragma_lex and is able to retrieve the string token of the pragma based on this example. https://github.com/wh5a/gcc-plugin/bl