Searched refs:ValueOrErr (Results 1 - 6 of 6) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DSymbolSize.cpp64 Expected<uint64_t> ValueOrErr = Sym.getValue(); local
65 if (!ValueOrErr)
67 report_fatal_error(ValueOrErr.takeError());
68 Addresses.push_back({I, *ValueOrErr, SymNum, getSymbolSectionID(O, Sym)});
/freebsd-13-stable/contrib/llvm-project/llvm/lib/XRay/
H A DInstrumentationMap.cpp121 Expected<uint64_t> ValueOrErr = Reloc.getSymbol()->getValue(); local
122 if (!ValueOrErr)
123 return ValueOrErr.takeError();
124 Relocs.insert({Reloc.getOffset(), Resolver(Reloc, *ValueOrErr, 0)});
129 Expected<uint64_t> ValueOrErr = Reloc.getSymbol()->getValue(); local
130 if (!ValueOrErr)
132 return ValueOrErr.takeError();
133 Relocs.insert({Reloc.getOffset(), Resolver(Reloc, *ValueOrErr, A)});
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOX86_64.h53 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID))
54 Value = *ValueOrErr;
56 return ValueOrErr.takeError();
H A DRuntimeDyldMachOI386.h70 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID))
71 Value = *ValueOrErr;
73 return ValueOrErr.takeError();
H A DRuntimeDyldMachOARM.h168 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID))
169 Value = *ValueOrErr;
171 return ValueOrErr.takeError();
H A DRuntimeDyldMachOAArch64.h327 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID))
328 Value = *ValueOrErr;
330 return ValueOrErr.takeError();

Completed in 98 milliseconds