Home
last modified time | relevance | path

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

/external/llvm/tools/llvm-size/
Dllvm-size.cpp437 ErrorOr<std::unique_ptr<Binary>> ChildOrErr = c.getAsBinary(); in PrintFileSectionSizes() local
438 if (std::error_code EC = ChildOrErr.getError()) { in PrintFileSectionSizes()
442 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) { in PrintFileSectionSizes()
505 ErrorOr<std::unique_ptr<Binary>> ChildOrErr = c.getAsBinary(); in PrintFileSectionSizes() local
506 if (std::error_code EC = ChildOrErr.getError()) { in PrintFileSectionSizes()
511 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) { in PrintFileSectionSizes()
588 ErrorOr<std::unique_ptr<Binary>> ChildOrErr = c.getAsBinary(); in PrintFileSectionSizes() local
589 if (std::error_code EC = ChildOrErr.getError()) { in PrintFileSectionSizes()
594 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) { in PrintFileSectionSizes()
657 ErrorOr<std::unique_ptr<Binary>> ChildOrErr = c.getAsBinary(); in PrintFileSectionSizes() local
[all …]
/external/llvm/tools/dsymutil/
DBinaryHolder.cpp112 for (auto ChildOrErr : CurrentArchive->children()) { in GetArchiveMemberBuffers() local
113 if (std::error_code Err = ChildOrErr.getError()) in GetArchiveMemberBuffers()
115 const auto &Child = *ChildOrErr; in GetArchiveMemberBuffers()
/external/llvm/tools/llvm-ar/
Dllvm-ar.cpp397 for (auto &ChildOrErr : OldArchive->children()) { in performReadOperation() local
398 failIfError(ChildOrErr.getError()); in performReadOperation()
399 const object::Archive::Child &C = *ChildOrErr; in performReadOperation()
520 for (auto &ChildOrErr : OldArchive->children()) { in computeNewArchiveMembers() local
521 failIfError(ChildOrErr.getError()); in computeNewArchiveMembers()
522 auto &Child = ChildOrErr.get(); in computeNewArchiveMembers()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp1040 ErrorOr<std::unique_ptr<Binary>> ChildOrErr = C.getAsBinary(&Context); in dumpSymbolNamesFromFile() local
1041 if (ChildOrErr.getError()) in dumpSymbolNamesFromFile()
1043 if (SymbolicFile *O = dyn_cast<SymbolicFile>(&*ChildOrErr.get())) { in dumpSymbolNamesFromFile()
1098 ErrorOr<std::unique_ptr<Binary>> ChildOrErr = in dumpSymbolNamesFromFile() local
1100 if (ChildOrErr.getError()) in dumpSymbolNamesFromFile()
1103 dyn_cast<SymbolicFile>(&*ChildOrErr.get())) { in dumpSymbolNamesFromFile()
1155 ErrorOr<std::unique_ptr<Binary>> ChildOrErr = in dumpSymbolNamesFromFile() local
1157 if (ChildOrErr.getError()) in dumpSymbolNamesFromFile()
1160 dyn_cast<SymbolicFile>(&*ChildOrErr.get())) { in dumpSymbolNamesFromFile()
1207 ErrorOr<std::unique_ptr<Binary>> ChildOrErr = C.getAsBinary(&Context); in dumpSymbolNamesFromFile() local
[all …]
/external/llvm/tools/llvm-readobj/
Dllvm-readobj.cpp384 ErrorOr<std::unique_ptr<Binary>> ChildOrErr = Child.getAsBinary(); in dumpArchive() local
385 if (std::error_code EC = ChildOrErr.getError()) { in dumpArchive()
392 if (ObjectFile *Obj = dyn_cast<ObjectFile>(&*ChildOrErr.get())) in dumpArchive()
/external/llvm/tools/sancov/
Dsancov.cc330 ErrorOr<std::unique_ptr<object::Binary>> ChildOrErr = C.getAsBinary(); in getArchiveCoveragePoints() local
331 FailIfError(ChildOrErr); in getArchiveCoveragePoints()
333 dyn_cast<object::ObjectFile>(&*ChildOrErr.get())) in getArchiveCoveragePoints()
/external/llvm/tools/llvm-cxxdump/
Dllvm-cxxdump.cpp488 ErrorOr<std::unique_ptr<Binary>> ChildOrErr = ArcC.getAsBinary(); in dumpArchive() local
489 if (std::error_code EC = ChildOrErr.getError()) { in dumpArchive()
496 if (ObjectFile *Obj = dyn_cast<ObjectFile>(&*ChildOrErr.get())) in dumpArchive()
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp1535 ErrorOr<std::unique_ptr<Binary>> ChildOrErr = C.getAsBinary(); in DumpArchive() local
1536 if (std::error_code EC = ChildOrErr.getError()) in DumpArchive()
1539 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) in DumpArchive()
DMachODump.cpp1495 ErrorOr<std::unique_ptr<Binary>> ChildOrErr = C.getAsBinary(); in ParseInputMachO() local
1496 if (ChildOrErr.getError()) in ParseInputMachO()
1498 if (MachOObjectFile *O = dyn_cast<MachOObjectFile>(&*ChildOrErr.get())) { in ParseInputMachO()
1546 ErrorOr<std::unique_ptr<Binary>> ChildOrErr = C.getAsBinary(); in ParseInputMachO() local
1547 if (ChildOrErr.getError()) in ParseInputMachO()
1550 dyn_cast<MachOObjectFile>(&*ChildOrErr.get())) in ParseInputMachO()
1591 ErrorOr<std::unique_ptr<Binary>> ChildOrErr = C.getAsBinary(); in ParseInputMachO() local
1592 if (ChildOrErr.getError()) in ParseInputMachO()
1595 dyn_cast<MachOObjectFile>(&*ChildOrErr.get())) in ParseInputMachO()
1630 ErrorOr<std::unique_ptr<Binary>> ChildOrErr = C.getAsBinary(); in ParseInputMachO() local
[all …]