i need some help inserting some preprocessor directives between some
generated (with Cil) stmts.
e.g i would like to build (inside a function body)
the only way i found is by using GText but this returns a global which i
cannot append to a stmt list.
From: Christoph Spiel <cspiel@fr...> - 2010-07-12 17:28:46
On Mon, Jul 12, 2010 at 08:12:08PM +0300, Zakkak Foivos wrote:
> i need some help inserting some preprocessor directives between some
> generated (with Cil) stmts.
Some time ago, I used #pragma directives
to communicate extra information to and from a
cil run. Of course your cil-extension must take
care of the pragmas itself. Furthermore, this
technique may require additional source
transformation steps like, e.g. replacing the
You'll find more information in the archives of
this list, because similar problems already