/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
D | Archive.cpp | 620 Expected<StringRef> BufOrErr = C->getBuffer(); in Archive() local 621 if (!BufOrErr) { in Archive() 622 Err = BufOrErr.takeError(); in Archive() 625 SymbolTable = BufOrErr.get(); in Archive() 646 Expected<StringRef> BufOrErr = C->getBuffer(); in Archive() local 647 if (!BufOrErr) { in Archive() 648 Err = BufOrErr.takeError(); in Archive() 651 SymbolTable = BufOrErr.get(); in Archive() 659 Expected<StringRef> BufOrErr = C->getBuffer(); in Archive() local 660 if (!BufOrErr) { in Archive() [all …]
|
D | ArchiveWriter.cpp | 45 Expected<llvm::MemoryBufferRef> BufOrErr = OldMember.getMemoryBufferRef(); in getOldMember() local 46 if (!BufOrErr) in getOldMember() 47 return BufOrErr.takeError(); in getOldMember() 51 M.Buf = MemoryBuffer::getMemBuffer(*BufOrErr, false); in getOldMember()
|
/external/llvm/lib/DebugInfo/Symbolize/ |
D | DIPrinter.cpp | 43 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in printContext() local 45 if (!BufOrErr) in printContext() 48 std::unique_ptr<MemoryBuffer> Buf = std::move(BufOrErr.get()); in printContext()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/Symbolize/ |
D | DIPrinter.cpp | 43 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in printContext() local 45 if (!BufOrErr) in printContext() 48 std::unique_ptr<MemoryBuffer> Buf = std::move(BufOrErr.get()); in printContext()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/sancov/ |
D | sancov.cpp | 230 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in read() local 232 if (!BufOrErr) in read() 233 return BufOrErr.getError(); in read() 234 std::unique_ptr<MemoryBuffer> Buf = std::move(BufOrErr.get()); in read() 463 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in read() local 465 failIfError(BufOrErr); in read() 468 yaml::Stream S(**BufOrErr, SM); in read() 911 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in isCoverageFile() local 913 if (!BufOrErr) { in isCoverageFile() 914 errs() << "Warning: " << BufOrErr.getError().message() << "(" in isCoverageFile() [all …]
|
/external/llvm/tools/sancov/ |
D | sancov.cc | 535 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in isCoverageFile() local 537 if (!BufOrErr) { in isCoverageFile() 538 errs() << "Warning: " << BufOrErr.getError().message() << "(" in isCoverageFile() 539 << BufOrErr.getError().value() in isCoverageFile() 541 return BufOrErr.getError(); in isCoverageFile() 543 std::unique_ptr<MemoryBuffer> Buf = std::move(BufOrErr.get()); in isCoverageFile() 574 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in read() local 576 if (!BufOrErr) in read() 577 return BufOrErr.getError(); in read() 578 std::unique_ptr<MemoryBuffer> Buf = std::move(BufOrErr.get()); in read() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/ |
D | FuzzerCLI.cpp | 156 auto BufOrErr = MemoryBuffer::getFile(Arg, /*FileSize-*/ -1, in runFuzzerOnInputs() local 158 if (std::error_code EC = BufOrErr.getError()) { in runFuzzerOnInputs() 162 std::unique_ptr<MemoryBuffer> Buf = std::move(BufOrErr.get()); in runFuzzerOnInputs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/yaml-bench/ |
D | YAMLBench.cpp | 203 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in main() local 205 if (!BufOrErr) in main() 207 MemoryBuffer &Buf = *BufOrErr.get(); in main()
|
/external/llvm/utils/yaml-bench/ |
D | YAMLBench.cpp | 201 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in main() local 203 if (!BufOrErr) in main() 205 MemoryBuffer &Buf = *BufOrErr.get(); in main()
|
/external/llvm/lib/Object/ |
D | ArchiveWriter.cpp | 43 ErrorOr<llvm::MemoryBufferRef> BufOrErr = OldMember.getMemoryBufferRef(); in getOldMember() local 44 if (!BufOrErr) in getOldMember() 45 return errorCodeToError(BufOrErr.getError()); in getOldMember() 48 M.Buf = MemoryBuffer::getMemBuffer(*BufOrErr, false); in getOldMember()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-ar/ |
D | llvm-ar.cpp | 399 Expected<StringRef> BufOrErr = C.getBuffer(); in doExtract() local 400 failIfError(BufOrErr.takeError()); in doExtract() 401 StringRef Data = BufOrErr.get(); in doExtract() 810 auto BufOrErr = MemoryBuffer::getFile(Rest, -1, false); in runMRIScript() local 811 failIfError(BufOrErr.getError(), "Could not open library"); in runMRIScript() 812 ArchiveBuffers.push_back(std::move(*BufOrErr)); in runMRIScript()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/ |
D | llvm-objcopy.cpp | 450 auto BufOrErr = MemoryBuffer::getFile(File); in HandleArgs() local 451 if (!BufOrErr) in HandleArgs() 452 reportError(File, BufOrErr.getError()); in HandleArgs() 453 auto Buf = std::move(*BufOrErr); in HandleArgs()
|
/external/llvm/tools/llvm-ar/ |
D | llvm-ar.cpp | 760 auto BufOrErr = MemoryBuffer::getFile(Rest, -1, false); in runMRIScript() local 761 failIfError(BufOrErr.getError(), "Could not open library"); in runMRIScript() 762 ArchiveBuffers.push_back(std::move(*BufOrErr)); in runMRIScript()
|
/external/llvm/tools/llvm-objdump/ |
D | MachODump.cpp | 6563 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in DisassembleMachO() local 6565 if (std::error_code EC = BufOrErr.getError()) { in DisassembleMachO() 6570 ObjectFile::createMachOObjectFile(BufOrErr.get()->getMemBufferRef()) in DisassembleMachO()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/ |
D | MachODump.cpp | 6943 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in DisassembleMachO() local 6945 if (std::error_code EC = BufOrErr.getError()) { in DisassembleMachO() 6950 ObjectFile::createMachOObjectFile(BufOrErr.get()->getMemBufferRef()); in DisassembleMachO()
|