I was setting the clang triple to the result of llvm::sys::getProcessTriple(), without calling normalize on it. Until the enumeration is removed I think it would be nice to have a better error rather than just silently failing. http://reviews.llvm.org/D4804