davidmalcolm / gcc-python-plugin

GCC plugin that embeds CPython inside the compiler
GNU General Public License v3.0
197 stars 58 forks source link

Src/IR modification #190

Closed daveti closed 3 years ago

daveti commented 3 years ago

Is it possible to modify source files or IRs, e.g., Gimple, from the Python interface directly?

davidmalcolm commented 3 years ago

No. That would require significant work (and I'm too busy with upstream GCC work these days to attempt it myself).

daveti commented 3 years ago

Gotcha. Thanks for the confirmation.