Home
last modified time | relevance | path

Searched refs:ExitOnErr (Results 1 – 7 of 7) sorted by relevance

/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/
Dserver.cpp23 ExitOnError ExitOnErr; variable
41 ExitOnErr.setBanner("jit_server: "); in main()
43 ExitOnErr.setBanner(std::string(argv[0]) + ": "); in main()
107 ExitOnErr(Server.startReceivingFunction(TCPChannel, (uint32_t&)Id)); in main()
110 ExitOnErr(Server.handleTerminateSession()); in main()
113 ExitOnErr(Server.handleKnownFunction(Id)); in main()
/external/llvm/tools/lli/ChildTarget/
DChildTarget.cpp20 ExitOnError ExitOnErr; variable
29 ExitOnErr.setBanner(std::string(argv[0]) + ":"); in main()
62 ExitOnErr(Server.startReceivingFunction(Channel, RawId)); in main()
66 ExitOnErr(Server.handleTerminateSession()); in main()
69 ExitOnErr(Server.handleKnownFunction(Id)); in main()
/external/llvm/tools/llvm-pdbdump/
Dllvm-pdbdump.cpp297 static ExitOnError ExitOnErr; variable
305 ExitOnErr(make_error<GenericError>(generic_error_code::invalid_path, Path)); in yamlToPdb()
314 ExitOnErr(make_error<GenericError>(generic_error_code::unspecified, in yamlToPdb()
320 ExitOnErr(make_error<GenericError>(generic_error_code::invalid_path, in yamlToPdb()
327 ExitOnErr(Builder.setSuperBlock(YamlObj.Headers->SuperBlock)); in yamlToPdb()
340 ExitOnErr(Builder.generateSimpleStreamMap()); in yamlToPdb()
363 ExitOnErr(Pdb.takeError()); in yamlToPdb()
366 ExitOnErr(PdbFile->commit()); in yamlToPdb()
371 ExitOnErr(loadDataForPDB(PDB_ReaderType::Raw, Path, Session)); in pdb2Yaml()
378 ExitOnErr(O->dump()); in pdb2Yaml()
[all …]
/external/llvm/unittests/Support/
DErrorTest.cpp442 ExitOnError ExitOnErr; in TEST() local
443 ExitOnErr.setBanner("Error in tool:"); in TEST()
444 ExitOnErr.setExitCodeMapper([](const Error &E) { in TEST()
451 ExitOnErr(Error::success()); in TEST()
452 EXPECT_EQ(ExitOnErr(Expected<int>(7)), 7) in TEST()
456 int &B = ExitOnErr(Expected<int&>(A)); in TEST()
460 EXPECT_EXIT(ExitOnErr(make_error<CustomError>(7)), in TEST()
464 EXPECT_EXIT(ExitOnErr(Expected<int>(make_error<CustomSubError>(0, 0))), in TEST()
/external/llvm/tools/lli/
Dlli.cpp234 ExitOnError ExitOnErr; variable
374 ExitOnErr.setBanner(std::string(argv[0]) + ": "); in main()
656 MyRemote R = ExitOnErr(MyRemote::Create(*C)); in main()
660 ExitOnErr(R.createRemoteMemoryManager(RemoteMM)); in main()
671 if (auto Addr = ExitOnErr(R.getSymbolAddress(Name))) in main()
684 Result = ExitOnErr(R.callIntVoid(Entry)); in main()
695 ExitOnErr(R.terminateSession()); in main()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
Dtoy.cpp703 static ExitOnError ExitOnErr; variable
1131 ExitOnErr(TheJIT->addFunctionAST(std::move(FnAST))); in HandleDefinition()
1168 ExitOnErr(TheJIT->executeRemoteExpr(ExprSymbol.getAddress())); in HandleTopLevelExpression()
1257 ExitOnErr.setBanner("Kaleidoscope: "); in main()
1268 MyRemote Remote = ExitOnErr(MyRemote::Create(*TCPChannel)); in main()
1291 ExitOnErr(Remote.terminateSession()); in main()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
Dtoy.cpp681 static ExitOnError ExitOnErr; variable
1109 ExitOnErr(TheJIT->addFunctionAST(std::move(FnAST))); in HandleDefinition()
1206 ExitOnErr.setBanner("Kaleidoscope: "); in main()