Index: lib/Support/Triple.cpp =================================================================== --- lib/Support/Triple.cpp +++ lib/Support/Triple.cpp @@ -1074,6 +1074,10 @@ case llvm::Triple::Win32: // FIXME: this is invalid for WindowsCE return "cortex-a9"; + case llvm::Triple::NaCl: + if (MArch == "arm") + return "cortex-a9"; + break; default: break; }