reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

examples/HowToUseLLJIT/HowToUseLLJIT.cpp
   69   auto J = ExitOnErr(LLJITBuilder().create());
   75   auto Add1Sym = ExitOnErr(J->lookup("add1"));
examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp
 1159           ExitOnErr(TheJIT->lookup(("__anon_expr" + Twine(ExprCount)).str()));
 1231   TheJIT = ExitOnErr(KaleidoscopeJIT::Create());
examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp
 1159           ExitOnErr(TheJIT->lookup(("__anon_expr" + Twine(ExprCount)).str()));
 1231   TheJIT = ExitOnErr(KaleidoscopeJIT::Create());
examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp
 1283   auto Remote = ExitOnErr(MyRemote::Create(*TCPChannel, ES));
examples/LLJITExamples/LLJITWithJITLink/LLJITWithJITLink.cpp
   45   auto JTMB = ExitOnErr(JITTargetMachineBuilder::detectHost());
   50       ExitOnErr(LLJITBuilder()
   58   auto M = ExitOnErr(parseExampleModule(Add1Example, "add1"));
   63   auto Add1Sym = ExitOnErr(J->lookup("add1"));
examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp
   54   auto J = ExitOnErr(
   67   auto M = ExitOnErr(parseExampleModule(Add1Example, "add1"));
   72   auto Add1Sym = ExitOnErr(J->lookup("add1"));
examples/SpeculativeJIT/SpeculativeJIT.cpp
  163   auto SJ = ExitOnErr(SpeculativeJIT::Create());
  188   auto MainSym = ExitOnErr(SJ->lookup("main"));
lib/ObjectYAML/COFFEmitter.cpp
  185       Err(CodeViewYAML::toCodeViewSubsectionList(Allocator, Subsections, SC));
lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
  916     auto YamlSS = Err(YAMLDebugSubsection::fromCodeViewSubection(SC, SS));
lib/ObjectYAML/CodeViewYAMLTypes.cpp
  790     auto CVT = Err(LeafRecord::fromCodeViewRecord(T));
lib/Transforms/IPO/LowerTypeTests.cpp
 1675         ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(ClReadSummary)));
lib/Transforms/IPO/WholeProgramDevirt.cpp
  750         ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(ClReadSummary)));
tools/clang/examples/clang-interpreter/main.cpp
  215     auto J = ExitOnErr(llvm::orc::SimpleJIT::Create());
  219     auto Main = (int (*)(...))ExitOnErr(J->getSymbolAddress("main"));
tools/lld/COFF/PDB.cpp
 1092         exitOnErr(getFileName(cVStrTab, checksums, fileID));
 1098         filename = exitOnErr(getFileName(cVStrTab, checksums, extraFileId));
 1147         exitOnErr(cVStrTab.getString(fc.FileNameOffset));
 1627     exitOnErr(builder.getMsfBuilder().addStream(0));
 1817             exitOnErr(getFileName(cVStrTab, checksums, *nameIndex));
 1826   StringRef filename = exitOnErr(getFileName(cVStrTab, checksums, *nameIndex));
tools/lli/lli.cpp
  654     auto R = ExitOnErr(MyRemote::Create(*C, ES));
  657     auto RemoteMM = ExitOnErr(R->createRemoteMemoryManager());
  669               if (auto Addr = ExitOnErr(R->getSymbolAddress(Name)))
  681     Result = ExitOnErr(R->callIntVoid(Entry));
  757       TT.empty() ? ExitOnErr(orc::JITTargetMachineBuilder::detectHost())
  777   auto J = ExitOnErr(Builder.create());
  796       ExitOnErr(orc::DynamicLibrarySearchGenerator::GetForCurrentProcess(
  842       JD.addGenerator(ExitOnErr(orc::StaticLibraryDefinitionGenerator::Load(
  849     auto Obj = ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(ObjPath)));
  865     auto EntryPointSym = ExitOnErr(J->lookup(ThreadEntryPoint));
  873   auto MainSym = ExitOnErr(J->lookup("main"));
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
   91   std::unique_ptr<MemoryBuffer> MB = ExitOnErr(openBitcodeFile(InputFilename));
   94     BlockInfoMB = ExitOnErr(openBitcodeFile(BlockInfoFilename));
tools/llvm-cat/llvm-cat.cpp
   61       std::unique_ptr<MemoryBuffer> MB = ExitOnErr(
   63       std::vector<BitcodeModule> Mods = ExitOnErr(getBitcodeModuleList(*MB));
tools/llvm-cfi-verify/llvm-cfi-verify.cpp
  271   FileAnalysis Analysis = ExitOnErr(FileAnalysis::Create(InputFilename));
tools/llvm-dis/llvm-dis.cpp
  160       ExitOnErr(errorOrToExpected(MemoryBuffer::getFileOrSTDIN(InputFilename)));
  161   std::unique_ptr<Module> M = ExitOnErr(getLazyBitcodeModule(
  168   BitcodeLTOInfo LTOInfo = ExitOnErr(getBitcodeLTOInfo(*MB));
  171     Index = ExitOnErr(getModuleSummaryIndex(*MB));
tools/llvm-exegesis/llvm-exegesis.cpp
  272     Configurations = ExitOnErr(readSnippets(State, SnippetsFile));
  333       ExitOnErr(InstructionBenchmark::readYamls(State, BenchmarkFile));
  352   const auto Clustering = ExitOnErr(InstructionBenchmarkClustering::create(
tools/llvm-jitlink/llvm-jitlink.cpp
  389     auto SlabSize = ExitOnErr(getSlabAllocSize(SlabAllocateSizeString));
  390     return ExitOnErr(JITLinkSlabAllocator::Create(SlabSize));
  529       ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(InputFiles.front())));
  530   auto Obj = ExitOnErr(
  560       ExitOnErr(orc::DynamicLibrarySearchGenerator::GetForCurrentProcess(
  628         ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(InputFile)));
  746         ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(CheckFile)));
  823     EntryPoint = ExitOnErr(getMainEntryPoint(S));
  839     Result = ExitOnErr(runEntryPoint(S, EntryPoint));
tools/llvm-link/llvm-link.cpp
  215       ExitOnErr(llvm::getModuleSummaryIndexForFile(SummaryIndex));
  270   ExitOnErr(Importer.importFunctions(DestModule, ImportList));
  303           ExitOnErr(llvm::getModuleSummaryIndexForFile(SummaryIndex));
tools/llvm-lto/llvm-lto.cpp
  334         ExitOnErr(getModuleSummaryIndexForFile(Filename));
  382     return ExitOnErr(errorOrToExpected(MemoryBuffer::getFileOrSTDIN(Filename)));
  417         ExitOnErr(errorOrToExpected(MemoryBuffer::getFileOrSTDIN(Filename)));
  481   return ExitOnErr(getModuleSummaryIndexForFile(ThinLTOIndex));
  487   return ExitOnErr(lto::InputFile::create(Buffer));
  898           ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(Filename)));
  900       if (ExitOnErr(isBitcodeContainingObjCCategory(*Buffer)))
tools/llvm-modextract/llvm-modextract.cpp
   44       ExitOnErr(errorOrToExpected(MemoryBuffer::getFileOrSTDIN(InputFilename)));
   45   std::vector<BitcodeModule> Ms = ExitOnErr(getBitcodeModuleList(*MB));
   71   std::unique_ptr<Module> M = ExitOnErr(Ms[ModuleIndex].parseModule(Context));
tools/llvm-pdbutil/DumpOutputStyle.cpp
  610             Err(Stream.getECName(Desc.getPdbFilePathNameIndex()));
  612             Err(Stream.getECName(Desc.getSourceFileNameIndex()));
 1137     auto Program = Err(StringTable.getStringForID(FD.FrameFunc));
tools/llvm-pdbutil/llvm-pdbutil.cpp
  773     ExitOnErr(Builder.getMsfBuilder().addStream(0));
  825     auto CodeViewSubsections = ExitOnErr(CodeViewYAML::toCodeViewSubsectionList(
  873   InputFile IF = ExitOnErr(InputFile::open(Path));
 1322     ExitOnErr(Builder.getMsfBuilder().addStream(0));
 1347       ExitOnErr(InputFile::open(opts::explain::InputFilename.front(), true));
 1381     Index = ExitOnErr(IS.getNamedStreamIndex(opts::exportstream::Stream));
 1387   auto OutFile = ExitOnErr(
tools/llvm-rc/llvm-rc.cpp
  121   std::vector<RCToken> Tokens = ExitOnErr(tokenizeRC(FilteredContents));
  195     auto Resource = ExitOnErr(Parser.parseSingleResource());
tools/llvm-rtdyld/llvm-rtdyld.cpp
  612       ExitOnErr(getSectionId(FileToSecIDMap, FileName, SectionName));
unittests/Support/ErrorTest.cpp
  483   EXPECT_EQ(ExitOnErr(Expected<int>(7)), 7)
  495   EXPECT_EXIT(ExitOnErr(Expected<int>(make_error<CustomSubError>(0, 0))),
unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp
   95         ExitOnErr(InstructionBenchmark::readYaml(State, Filename));
  111         ExitOnErr(InstructionBenchmark::readYamls(State, Filename));