LGTM ================ Comment at: CMakeLists.txt:144 @@ +143,3 @@ +string(REPLACE "-" ";" TARGET_TRIPLE_LIST ${COMPILER_RT_TEST_TARGET_TRIPLE}) +list(GET TARGET_TRIPLE_LIST 0 TARGET_ARCH) + ---------------- COMPILER_RT_TEST_TARGET_ARCH here as well. http://reviews.llvm.org/D3855