LLC C++ backend

Hello,
Is the backend for generating C++ code(that generates llvm-ir) still working in the latest versions of the LLVM?

I tried to do
llc -march=cpp file.ll
, and I got the following mesage:
llc: error: invalid target ‘cpp’

I’m working on

LLVM version 3.8.0svn
Optimized build with assertions.
Built Sep 21 2015 (18:51:42).
Default target: x86_64-unknown-linux-gnu
Host CPU: westmere

Registered Targets:
arm - ARM
armeb - ARM (big endian)
thumb - Thumb
thumbeb - Thumb (big endian)
x86 - 32-bit X86: Pentium-Pro and above
x86-64 - 64-bit X86: EM64T and AMD64

Thank you,
Juan

Hi Juan,

CPP generating backend is still there.

Looks like in your build CPP target is not registered(Can verify with “llc -version”).

During build, include CPP target in “LLVM_TARGETS_TO_BUILD” cmake variable.

Refer below page for more details:

http://llvm.org/docs/CMake.html#llvm-specific-variables

Thanks,

Ashutosh