[LLVMdev] LLVM demo page

Óscar Fuentes ofv at wanadoo.es
Thu Feb 7 10:40:50 PST 2013


Blind Faith <person.of.book at gmail.com> writes:

>> You can use clang++ and llc for that:
>>
>> $ clang++ -c -emit-llvm foo.cpp -o foo.ll
>> $ llc -march=cpp -o foo.ll.cpp foo.ll
>>
>> (Note: the CppBackend is not enabled by default when you build with
>> CMake on Windows.)
>
> It says "llc: error: invalid target 'cpp'"

See the note. Please provide information about the LLVM version you are
using and the exact commands you executed for building LLVM and Clang.
The output of `llc --version' will help too.



More information about the llvm-dev mailing list