What do you guys/girls think about LLVM-C additions that are similar to the following:
char *
LLVMConvertModuleToC(LLVMModuleRef aModule);
Which creates the X-code for a given module (in this case for the language C).
main.cpp (3 KB)
What do you guys/girls think about LLVM-C additions that are similar to the following:
char *
LLVMConvertModuleToC(LLVMModuleRef aModule);
Which creates the X-code for a given module (in this case for the language C).
main.cpp (3 KB)
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.
To get the cpp version, just remove the first line...
It just feels to me that the llvm-c version is the unwanted sibling. And I want to change it in a rapid tempo. To a fully equipped alternative.
-Filip
Hi Filip,
To get the cpp version, just remove the first line...
It just feels to me that the llvm-c version is the unwanted sibling. And I want to change it in a rapid tempo. To a fully equipped alternative.
code contributions should be in the form of a patch.
Ciao,
Duncan.