gcc-python-plugin icon indicating copy to clipboard operation
gcc-python-plugin copied to clipboard

GCC plugin that embeds CPython inside the compiler

Results 84 gcc-python-plugin issues
Sort by recently updated
recently updated
newest added

gcc-python-plugin doesn't build with GCC 10, first error is to include the params.h file, removed in GCC 10.

Hi, I'm trying to compile the gcc-python-plugin. I tried with both gcc-7 and gcc-8. I'm using Python 3.8 and building with ```make PYTHON=python3.8 PYTHON_CONFIG=python3.8-config``` The first problem is related to...

This code here is experimental. I am using the docker image zbeekman/nightly-gcc-trunk-docker-image latest 5114095361e6 with patches. gcc (GCC) 10.0.0 20191203 (experimental) latest 5114095361e6 I guess that is actually older than...

* bugfix location hasher bugfix * feature callbacks: PLUGIN_FINISH_PARSE_FUNCTION, PLUGIN_INCLUDE_FILE attributes: typedecl.stub typedecl.main_variant,decl.attributes, vardecl.node, varnode.referred/referring, decl.external, decl.context attributes made writeable: decl.static, decl.initial, decl.public global: current_function_decl, main_input_filename, get_location pretty print: print_declaration...

* Add new function ``gcc.is_cplusplus`` to determine if we are compiling C++ * Use ``gcc.is_cplusplus`` in gccutils to not iterate over fullname when we are not using C++ (resolves davidmalcolm#72)...

At link time (and using the compiler flags described here http://gcc-python-plugin.readthedocs.io/en/latest/lto.html?highlight=supergraph) I always get None for the function object. The example script outputs an empty png. for node in get_callgraph_nodes():...

Hi -- I'm trying to get `gcc-python-plugin` to work on MacOSX. I am facing the following issues with `gcc-8` ``` gcc-8 -I/usr/local/Cellar/gcc@8/8.3.0_2/lib/gcc/8/gcc/x86_64-apple-darwin19/8.3.0/plugin/include -I/usr/local/Cellar/gcc@8/8.3.0_2/lib/gcc/8/gcc/x86_64-apple-darwin19/8.3.0/plugin/include/c-family -I. -I/usr/local/include -O2 -Werror -g -fPIC -fno-strict-aliasing...

cc1: error: cannot load plugin /home/vishruti/gcc-python-plugin-0.15/python.so /home/vishruti/gcc-python-plugin-0.15/python.so: cannot open shared object file: No such file or directory

I am trying to build the plugin on Ubuntu 18.04. After I install the plugin by runing "make plugin", I trying to run the example as follow: ``` ./gcc-with-python examples/show-docs.py...