[LLVMdev] LLVM-C addition: LLVMConvertModuleToXXX
Duncan Sands
baldrick at free.fr
Thu Sep 16 01:00:58 PDT 2010
Hi Filip,
> What do you guys/girls think about LLVM-C additions that are similar to the
> following:
as a meta-point, I thought llvm-c was supposed to be a binding, i.e. only
contain routines that map directly to existing C++ routines. Here you are
adding a bunch of logic that presumably doesn't exist in the C++ library.
As such, you should consider first adding a C++ helper function for doing
this, then adding an llvm-c binding to it, rather than doing everything in
llvm-c.
Ciao,
Duncan.
More information about the llvm-dev
mailing list