[LLVMdev] Machine backend plugins?

Duncan Sands baldrick at free.fr
Tue Feb 26 09:05:44 PST 2013


Hi Paul,

> Is it possible to have a machine backend as a plugin in LLVM?

no, it is not currently possible.

  My
> current reading suggests that no, as some static changes to core are
> still required to enumerrate triples, backend types, etc. That info is
> apparently for previous versions of LLVM, and I wonder what is a
> current state. So, are machine plugins supported and if not, is there
> interest/priority in implementing support for them?

My impression is that adding support for backends as plugins would be
very hard.  I doubt anyone is working on it.

Ciao, Duncan.

>
> I'm asking because over last few releases, LLVM just loses
> machine backends, and there're few backends lying around which
> are of the form of whole LLVM trees, so it complicates maintenance and
> integration of them for people who are not deeply familiar with LLVM.
>
>




More information about the llvm-dev mailing list