Home
last modified time | relevance | path

Searched refs:BinOrErr (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DBinary.cpp96 Expected<std::unique_ptr<Binary>> BinOrErr = in createBinary() local
98 if (!BinOrErr) in createBinary()
99 return BinOrErr.takeError(); in createBinary()
100 std::unique_ptr<Binary> &Bin = BinOrErr.get(); in createBinary()
/external/llvm/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp98 Expected<std::unique_ptr<Binary>> BinOrErr = in DumpInput() local
100 if (!BinOrErr) in DumpInput()
101 error(Filename, errorToErrorCode(BinOrErr.takeError())); in DumpInput()
103 if (auto *Obj = dyn_cast<ObjectFile>(BinOrErr->get())) in DumpInput()
105 else if (auto *Fat = dyn_cast<MachOUniversalBinary>(BinOrErr->get())) in DumpInput()
/external/llvm/lib/Object/
DBinary.cpp84 Expected<std::unique_ptr<Binary>> BinOrErr = in createBinary() local
86 if (!BinOrErr) in createBinary()
87 return BinOrErr.takeError(); in createBinary()
88 std::unique_ptr<Binary> &Bin = BinOrErr.get(); in createBinary()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp335 Expected<OwningBinary<Binary>> BinOrErr = createBinary(Path); in getOrCreateObject() local
336 if (!BinOrErr) { in getOrCreateObject()
338 return BinOrErr.takeError(); in getOrCreateObject()
340 Bin = BinOrErr->getBinary(); in getOrCreateObject()
341 BinaryForPath.insert(std::make_pair(Path, std::move(BinOrErr.get()))); in getOrCreateObject()
/external/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp327 Expected<OwningBinary<Binary>> BinOrErr = createBinary(Path); in getOrCreateObject() local
328 if (!BinOrErr) { in getOrCreateObject()
330 return BinOrErr.takeError(); in getOrCreateObject()
332 Bin = BinOrErr->getBinary(); in getOrCreateObject()
333 BinaryForPath.insert(std::make_pair(Path, std::move(BinOrErr.get()))); in getOrCreateObject()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
Ddsymutil.cpp258 Expected<OwningBinary<Binary>> BinOrErr = createBinary(OutputFile); in verify() local
259 if (!BinOrErr) { in verify()
260 errs() << OutputFile << ": " << toString(BinOrErr.takeError()); in verify()
264 Binary &Binary = *BinOrErr.get().getBinary(); in verify()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp465 Expected<std::unique_ptr<Binary>> BinOrErr = object::createBinary(Buffer); in handleBuffer() local
466 error(Filename, errorToErrorCode(BinOrErr.takeError())); in handleBuffer()
469 if (auto *Obj = dyn_cast<ObjectFile>(BinOrErr->get())) { in handleBuffer()
475 else if (auto *Fat = dyn_cast<MachOUniversalBinary>(BinOrErr->get())) in handleBuffer()
495 else if (auto *Arch = dyn_cast<Archive>(BinOrErr->get())) in handleBuffer()
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp598 auto BinOrErr = object::createBinary(ObjectBuffer); in loadBinaryFormat() local
599 if (!BinOrErr) in loadBinaryFormat()
600 return BinOrErr.takeError(); in loadBinaryFormat()
601 auto Bin = std::move(BinOrErr.get()); in loadBinaryFormat()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp635 auto BinOrErr = createBinary(ObjectBuffer); in loadBinaryFormat() local
636 if (!BinOrErr) in loadBinaryFormat()
637 return BinOrErr.takeError(); in loadBinaryFormat()
638 auto Bin = std::move(BinOrErr.get()); in loadBinaryFormat()