Home
last modified time | relevance | path

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

/external/llvm/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp98 ErrorOr<std::unique_ptr<Binary>> BinOrErr = in DumpInput() local
100 error(Filename, BinOrErr.getError()); in DumpInput()
102 if (auto *Obj = dyn_cast<ObjectFile>(BinOrErr->get())) in DumpInput()
104 else if (auto *Fat = dyn_cast<MachOUniversalBinary>(BinOrErr->get())) in DumpInput()
/external/llvm/lib/Object/
DBinary.cpp84 ErrorOr<std::unique_ptr<Binary>> BinOrErr = in createBinary() local
86 if (std::error_code EC = BinOrErr.getError()) in createBinary()
88 std::unique_ptr<Binary> &Bin = BinOrErr.get(); in createBinary()
/external/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp294 ErrorOr<OwningBinary<Binary>> BinOrErr = createBinary(Path); in getOrCreateObject() local
295 if (auto EC = BinOrErr.getError()) { in getOrCreateObject()
299 Bin = BinOrErr->getBinary(); in getOrCreateObject()
300 BinaryForPath.insert(std::make_pair(Path, std::move(BinOrErr.get()))); in getOrCreateObject()
/external/llvm/lib/ProfileData/
DCoverageMappingReader.cpp442 auto BinOrErr = object::createBinary(ObjectBuffer); in loadBinaryFormat() local
443 if (std::error_code EC = BinOrErr.getError()) in loadBinaryFormat()
445 auto Bin = std::move(BinOrErr.get()); in loadBinaryFormat()