I am using clang to write source-to-source transforms, so I do not need the code generation backend. Further, the size of the Clang/LLVM executable is a problem:
I am constantly recompiling my transforms and the linking stage takes a long time.
If I ever have to run it in the debugger, it takes minutes to load into gdb.
How do I configure the Clang/LLVM build process to build Clang without the LLVM backend?