movfuscator
movfuscator copied to clipboard
LLC not able to compile C++ code into C
Extra info: https://stackoverflow.com/questions/31960290/using-the-llvm-linker-to-produce-c-code
$ clang++ -S -emit-llvm -o bytecode.ll tiny.cpp
--- snip ---
$ llc -march=c -o code.c bytecode.ll
llc: error: error: invalid target 'c'.
The C backend for LLVM was removed in 3.1.
https://github.com/JuliaComputing/llvm-cbe