[LLVMdev] Vtables for non c++ languages

Renato Golin rengolin at systemcall.org
Thu May 12 06:03:48 PDT 2011


On 12 May 2011 06:05, Talin <viridia at gmail.com> wrote:
> You'll need to do that yourself. A vtable is just an array of function
> pointers.

You can map the concept in C++ and run Clang on it to output IR, so
you know more or less it should be done in your language.

cheers,
--renato



More information about the llvm-dev mailing list