Home | History | Annotate | Download | only in lto

Lines Matching full:errmsg

124 bool LTOCodeGenerator::addModule(LTOModule* mod, std::string& errMsg) {
125 bool ret = _linker.linkInModule(mod->getLLVVMModule(), &errMsg);
159 std::string &errMsg) {
160 if (!determineTarget(errMsg))
172 errMsg = "could not open bitcode file for writing: ";
173 errMsg += path;
182 errMsg = "could not write bitcode file: ";
183 errMsg += path;
192 bool LTOCodeGenerator::compile_to_file(const char** name, std::string& errMsg) {
198 errMsg = EC.message();
205 bool genResult = generateObjectFile(objFile.os(), errMsg);
224 const void* LTOCodeGenerator::compile(size_t* length, std::string& errMsg) {
226 if (!compile_to_file(&name, errMsg))
235 errMsg = ec.message();
251 bool LTOCodeGenerator::determineTarget(std::string &errMsg) {
266 const Target *march = TargetRegistry::lookupTarget(TripleStr, errMsg);
391 std::string &errMsg) {
392 if (!this->determineTarget(errMsg))
435 errMsg = "target file type not supported";