Hi,
I'm working on a gcc plugin project. I had a doubt, can somebody help
me on this.
Can we write a plugin (which works after a pass like cfg or any other)
which can modify the source code of .C file, for example insert
comments before function definitions or insert a new IF Block in the
.C file.
Thanks Basile Starynkevitch for the useful reply.
On 6/15/14, Basile Starynkevitch wrote:
> On Sun, 2014-06-15 at 02:40 +0530, Mohsin Khan wrote:
>> Hi,
>> I'm working on a gcc plugin project. I had a doubt, can somebody help
>> me on this.
>
> [no need
Hi,
I'm working on a gcc plugin project. I had a doubt, can somebody help
me on this.
Can we write a plugin (which works after a pass like cfg or any other)
which can modify the source code of .C file, for example insert
comments before function definitions or insert a new IF Block in the
.C file.
Hi David,
I am very much thankful to you as your answer worked wonders for me.
The problem with the plugin is solved now. Thanks again.
On 3/5/14, David Malcolm wrote:
> On Wed, 2014-03-05 at 21:58 +0530, Mohsin Khan wrote:
>> Hi,
>>
>> I am developing plugins for
Hi,
I am developing plugins for the GCC-4.8.2. I am a newbie in plugins.
I wrote a plugin and tried to count and see the Goto Statements using
the gimple_stmt_iterator. I get gimple statements printed on my
stdout, but I am not able to find the line which has goto statements.
I only get other lin
Basile Starynkevitch wrote:
> On Tue, 2014-02-18 at 11:17 +0530, Mohsin Khan wrote:
>> Hi,
>>
>> I am developing plugins for the GCC-4.8.2. I am a newbie in plugins.
>> I wrote a plugin and tried to count and see the Goto Statements using
>> the gimple_stmt_iterator.
Hi,
I am developing plugins for the GCC-4.8.2. I am a newbie in plugins.
I wrote a plugin and tried to count and see the Goto Statements using
the gimple_stmt_iterator. I get gimple statements printed on my
stdout, but I am not able to find the line which has goto statements.
I only get other lin