Skip to content

TableGen backends as plugins #151299

@DavidSpickett

Description

@DavidSpickett

Currently all backends are built into each tblgen binary, llvm-tblgen, clang-tblgen, lldb-tblgen etc. It would be good to have the ability to load a new backend as a plugin.

This would:

  • Remove the need for several copies of the compiler (which can be confusing to developers and packagers of llvm).
  • Allow faster development of backends in C++.

You can currently write a backend externally by emitting JSON and parsing that with whatever you want, but you won't have the TableGen APIs you'd have in C++.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImproving things as opposed to bug fixing, e.g. new or missing featuretablegen

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions