search for: cppfor

Displaying 2 results from an estimated 2 matches for "cppfor".

Did you mean: cppcon
2013 Mar 25
3
[LLVMdev] llvm2cpp attributes handling
...the llvm2cpp feature of LLVM in the VMKit project and there are some issues that I would like to point out. I made a tiny reproducible example here, to be clear: echo "int main() { return 0; };" > test.c && clang test.c -emit-llvm -c -o - | llc -march=cpp -cppgen=function -cppfor=main -o - This command is supposed to generate the C++ code to construct the main function in LLVM (see main_llvm2cpp.cc joined file). But an error occurs while generating the code (see stack trace below). It appears that an assertion is broken while treating attributes in the file CPPBackend.c...
2013 Mar 25
0
[LLVMdev] llvm2cpp attributes handling
...LVM in the VMKit project and there are > some issues that I would like to point out. > > I made a tiny reproducible example here, to be clear: > > echo "int main() { return 0; };" > test.c && clang test.c -emit-llvm -c -o - > | llc -march=cpp -cppgen=function -cppfor=main -o - > > This command is supposed to generate the C++ code to construct the main > function in LLVM (see main_llvm2cpp.cc joined file). > But an error occurs while generating the code (see stack trace below). > > It appears that an assertion is broken while treating attribute...