Lines Matching defs:Error
72 std::string Error;
74 *T = wrap(TargetRegistry::lookupTarget(TripleStr, Error));
78 *ErrorMessage = strdup(Error.c_str());
190 std::string error;
195 error = "No DataLayout in TargetMachine";
196 *ErrorMessage = strdup(error.c_str());
212 error = "TargetMachine can't emit a file of this type";
213 *ErrorMessage = strdup(error.c_str());
225 std::string error;
226 raw_fd_ostream dest(Filename, error, sys::fs::F_None);
227 if (!error.empty()) {
228 *ErrorMessage = strdup(error.c_str());