/external/llvm/lib/Support/Unix/ |
H A D | Unix.h | 70 /// This function builds an error message into \p ErrMsg using the \p prefix 78 std::string* ErrMsg, const std::string& prefix, int errnum = -1) { 79 if (!ErrMsg) 83 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum); 77 MakeErrMsg( std::string* ErrMsg, const std::string& prefix, int errnum = -1) argument
|
/external/llvm/tools/bugpoint/ |
H A D | FindBugs.cpp | 33 std::string &ErrMsg) { 83 return debugCodeGeneratorCrash(ErrMsg); 101 debugCodeGeneratorCrash(ErrMsg); 32 runManyPasses(const std::vector<std::string> &AllPasses, std::string &ErrMsg) argument
|
H A D | BugDriver.cpp | 149 bool BugDriver::run(std::string &ErrMsg) { argument 153 return runManyPasses(PassesToRun, ErrMsg); 178 return debugCodeGeneratorCrash(ErrMsg); 190 return debugCodeGeneratorCrash(ErrMsg); 207 return debugCodeGeneratorCrash(ErrMsg); 214 return debugCodeGeneratorCrash(ErrMsg); 224 return debugCodeGeneratorCrash(ErrMsg);
|
H A D | ExecutionDriver.cpp | 269 std::string ErrMsg; local 270 if (BitcodeFile.makeUnique(true, &ErrMsg)) { 271 errs() << ToolName << ": Error making unique filename: " << ErrMsg local 302 std::string ErrMsg; local 306 if (uniqueFilename.makeUnique(true, &ErrMsg)) { 308 << ErrMsg << "!\n"; local 330 if (uniqueFile.makeUnique(true, &ErrMsg)) { 332 << ErrMsg << "\n"; local 434 /// generator (e.g., llc crashes), this will set ErrMsg. 440 std::string *ErrMsg) cons [all...] |
H A D | OptimizerDriver.cpp | 118 std::string ErrMsg; local 119 if (uniqueFilename.makeUnique(true, &ErrMsg)) { 121 << ErrMsg << "\n"; 128 if (inputFilename.makeUnique(true, &ErrMsg)) { 130 << ErrMsg << "\n"; 209 Timeout, MemoryLimit, &ErrMsg); 226 outs() << "Execute failed: " << ErrMsg << "\n"; 228 outs() << "Crashed: " << ErrMsg << "\n";
|
H A D | ExtractFunction.cpp | 367 std::string ErrMsg; local 368 if (uniqueFilename.createTemporaryFileOnDisk(true, &ErrMsg)) { 370 errs() << "Error creating temporary file: " << ErrMsg << "\n";
|
H A D | Miscompilation.cpp | 930 std::string ErrMsg; local 931 if (TestModuleBC.makeUnique(true, &ErrMsg)) { 933 << ErrMsg << "\n"; 947 if (SafeModuleBC.makeUnique(true, &ErrMsg)) { 949 << ErrMsg << "\n"; 1019 std::string ErrMsg; local 1020 if (TestModuleBC.makeUnique(true, &ErrMsg)) { 1022 << ErrMsg << "\n"; 1035 if (SafeModuleBC.makeUnique(true, &ErrMsg)) { 1037 << ErrMsg << "\ [all...] |
/external/llvm/utils/not/ |
H A D | not.cpp | 18 std::string ErrMsg; local 20 &ErrMsg); 22 errs() << "Error: " << ErrMsg << "\n";
|
/external/llvm/lib/Support/ |
H A D | GraphWriter.cpp | 59 const sys::Path &Filename, bool wait, std::string &ErrMsg) { 61 if (sys::Program::ExecuteAndWait(ExecPath, &args[0],0,0,0,0,&ErrMsg)) { 62 errs() << "Error: " << ErrMsg << "\n"; 69 sys::Program::ExecuteNoWait(ExecPath, &args[0],0,0,0,&ErrMsg); 78 std::string ErrMsg; local 88 if (!ExecGraphViewer(Graphviz, args, Filename, wait, ErrMsg)) 108 if (!ExecGraphViewer(sys::Path(LLVM_PATH_XDOT_PY), args, Filename, wait, ErrMsg)) 169 if (!ExecGraphViewer(prog, args, Filename, wait, ErrMsg)) 179 ErrMsg.clear(); 180 if (!ExecGraphViewer(gv, args, PSFilename, wait, ErrMsg)) 58 ExecGraphViewer(const sys::Path &ExecPath, std::vector<const char*> &args, const sys::Path &Filename, bool wait, std::string &ErrMsg) argument [all...] |
H A D | Program.cpp | 32 std::string* ErrMsg) { 34 if (prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg)) 35 return prg.Wait(path, secondsToWait, ErrMsg); 46 std::string* ErrMsg) { 48 prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg); 26 ExecuteAndWait(const Path& path, const char** args, const char** envp, const Path** redirects, unsigned secondsToWait, unsigned memoryLimit, std::string* ErrMsg) argument 41 ExecuteNoWait(const Path& path, const char** args, const char** envp, const Path** redirects, unsigned memoryLimit, std::string* ErrMsg) argument
|
/external/llvm/include/llvm/Support/ |
H A D | IRReader.h | 40 std::string ErrMsg; local 41 Module *M = getLazyBitcodeModule(Buffer, Context, &ErrMsg); 44 ErrMsg); 81 std::string ErrMsg; local 82 Module *M = ParseBitcodeFile(Buffer, Context, &ErrMsg); 85 ErrMsg);
|
H A D | GraphWriter.h | 312 std::string ErrMsg; local 313 sys::Path Filename = sys::Path::GetTemporaryDirectory(&ErrMsg); 315 errs() << "Error: " << ErrMsg << "\n"; 319 if (Filename.makeUnique(true,&ErrMsg)) { 320 errs() << "Error: " << ErrMsg << "\n";
|
/external/llvm/lib/Linker/ |
H A D | LinkArchives.cpp | 113 std::string ErrMsg; local 115 Archive::OpenAndLoadSymbols(Filename, Context, &ErrMsg)); 121 "': " + ErrMsg); 144 if (!arch->findModulesDefiningSymbols(UndefinedSymbols, Modules, &ErrMsg)) 146 "': " + ErrMsg);
|
/external/clang/lib/AST/ |
H A D | InheritViz.cpp | 138 std::string ErrMsg; local 139 sys::Path Filename = sys::Path::GetTemporaryDirectory(&ErrMsg); 141 llvm::errs() << "Error: " << ErrMsg << "\n"; 145 if (Filename.makeUnique(true,&ErrMsg)) { 146 llvm::errs() << "Error: " << ErrMsg << "\n"; 152 llvm::raw_fd_ostream O(Filename.c_str(), ErrMsg); 154 if (ErrMsg.empty()) {
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/ |
H A D | compile.h | 85 const char *ErrMsg; member in struct:CPPStruct_Rec
|
/external/llvm/lib/Archive/ |
H A D | Archive.cpp | 69 bool ArchiveMember::replaceWith(const sys::Path& newFile, std::string* ErrMsg) { argument 72 if (ErrMsg) 73 *ErrMsg = "Can not replace an archive member with a non-existent file"; 123 const sys::FileStatus *FSinfo = path.getFileStatus(false, ErrMsg); 151 Archive::mapToMemory(std::string* ErrMsg) { argument 154 if (ErrMsg) 155 *ErrMsg = ec.message(); 221 std::string* ErrMsg) { 224 if (ErrMsg) *ErrMsg 218 GetBitcodeSymbols(const sys::Path& fName, LLVMContext& Context, std::vector<std::string>& symbols, std::string* ErrMsg) argument 242 GetBitcodeSymbols(const char *BufPtr, unsigned Length, const std::string& ModuleID, LLVMContext& Context, std::vector<std::string>& symbols, std::string* ErrMsg) argument [all...] |
H A D | ArchiveReader.cpp | 462 std::string* ErrMsg) { 485 ErrMsg); 496 Module *m = getLazyBitcodeModule(Buffer, Context, ErrMsg); 461 findModuleDefiningSymbol(const std::string& symbol, std::string* ErrMsg) argument
|
H A D | ArchiveWriter.cpp | 159 std::string* ErrMsg) { 162 if (ErrMsg) 163 *ErrMsg = "Can not add a non-existent file to archive"; 171 const sys::FileStatus *FSInfo = mbr->path.getFileStatus(false, ErrMsg); 208 std::string* ErrMsg 222 if (ErrMsg) 223 *ErrMsg = ec.message(); 238 GetBitcodeSymbols(data, fSize, FullMemberName, Context, symbols, ErrMsg); 258 if (ErrMsg) 259 *ErrMsg 158 addFileBefore(const sys::Path& filePath, iterator where, std::string* ErrMsg) argument 352 writeToDisk(bool CreateSymbolTable, bool TruncateNames, bool Compress, std::string* ErrMsg) argument [all...] |
/external/llvm/lib/Support/Windows/ |
H A D | Windows.h | 34 inline bool MakeErrMsg(std::string* ErrMsg, const std::string& prefix) { argument 35 if (!ErrMsg) 40 *ErrMsg = prefix + buffer;
|
/external/llvm/tools/gold/ |
H A D | gold-plugin.cpp | 467 std::string ErrMsg; local 470 if (Cleanup[i].eraseFromDisk(false, &ErrMsg)) 472 ErrMsg.c_str());
|
/external/llvm/tools/llvm-ld/ |
H A D | llvm-ld.cpp | 264 std::string &ErrMsg ) { 281 return sys::Program::ExecuteAndWait(llc, &args[0], 0, 0, 0, 0, &ErrMsg); 288 std::string& ErrMsg) { 303 return sys::Program::ExecuteAndWait(llc, &args[0], 0, 0, 0, 0, &ErrMsg); 328 std::string& ErrMsg) { 402 gcc, &Args[0], const_cast<const char **>(clean_env), 0, 0, 0, &ErrMsg); 416 std::string ErrMsg; local 422 if (0 != sys::CopyFile(sys::Path(OutputFilename), llvmstub, &ErrMsg)) 423 PrintAndExit(ErrMsg, M); 626 std::string ErrMsg; local 285 GenerateCFile(const std::string &OutputFile, const std::string &InputFile, const sys::Path &llc, std::string& ErrMsg) argument 324 GenerateNative(const std::string &OutputFilename, const std::string &InputFilename, const Linker::ItemList &LinkItems, const sys::Path &gcc, char ** const envp, std::string& ErrMsg) argument 674 std::string ErrMsg; local 701 std::string ErrMsg; local 713 std::string ErrMsg; local [all...] |
/external/llvm/unittests/Support/ |
H A D | Path.cpp | 302 std::string ErrMsg; local 303 raw_fd_ostream file(file_pathname.c_str(), ErrMsg,
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | PlistDiagnostics.cpp | 396 std::string ErrMsg; local 397 llvm::raw_fd_ostream o(OutputFile.c_str(), ErrMsg); 398 if (!ErrMsg.empty()) {
|
/external/llvm/tools/llvm-ar/ |
H A D | llvm-ar.cpp | 278 std::set<sys::Path>& result, std::string* ErrMsg) { 282 if (path.getDirectoryContents(content, ErrMsg)) 289 const sys::FileStatus *Status = PwS.getFileStatus(false, ErrMsg); 294 if (recurseDirectories(*I, moreResults, ErrMsg)) 308 bool buildPaths(bool checkExistence, std::string* ErrMsg) { argument 324 if (recurseDirectories(aPath, dirpaths, ErrMsg)) 352 bool doPrint(std::string* ErrMsg) { argument 353 if (buildPaths(false, ErrMsg)) 404 doDisplayTable(std::string* ErrMsg) { argument 405 if (buildPaths(false, ErrMsg)) 277 recurseDirectories(const sys::Path& path, std::set<sys::Path>& result, std::string* ErrMsg) argument 442 doExtract(std::string* ErrMsg) argument 485 doDelete(std::string* ErrMsg) argument 518 doMove(std::string* ErrMsg) argument 571 doQuickAppend(std::string* ErrMsg) argument 596 doReplaceOrInsert(std::string* ErrMsg) argument 744 std::string ErrMsg; local 759 errs() << argv[0] << ": " << ErrMsg << "\\n"; local [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
H A D | AnalysisConsumer.cpp | 597 std::string ErrMsg; local 599 llvm::sys::Path Dir = llvm::sys::Path::GetTemporaryDirectory(&ErrMsg); 600 if (!ErrMsg.empty()) 605 Filename.makeUnique(true,&ErrMsg); 607 if (!ErrMsg.empty()) 613 Stream.reset(new llvm::raw_fd_ostream(Filename.c_str(), ErrMsg)); 615 if (!ErrMsg.empty()) 667 std::string ErrMsg; local 674 if (llvm::sys::Program::ExecuteAndWait(Ubiviz, &args[0],0,0,0,0,&ErrMsg)) { 675 llvm::errs() << "Error viewing graph: " << ErrMsg << "\ [all...] |