Home
last modified time | relevance | path

Searched refs:SymbolsOrErr (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DArchiveWriter.cpp967 Expected<std::vector<unsigned>> SymbolsOrErr = in computeMemberData() local
969 if (!SymbolsOrErr) in computeMemberData()
970 return createFileError(M->MemberName, SymbolsOrErr.takeError()); in computeMemberData()
971 Symbols = std::move(*SymbolsOrErr); in computeMemberData()
1198 Expected<std::vector<unsigned>> SymbolsOrErr = getSymbols( in writeArchiveToStream() local
1202 if (!SymbolsOrErr) in writeArchiveToStream()
1203 return SymbolsOrErr.takeError(); in writeArchiveToStream()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h770 if (Expected<typename ELFT::SymRange> SymbolsOrErr = in getSymbolFlags() local
773 if (ESym == SymbolsOrErr->begin()) in getSymbolFlags()
777 return SymbolsOrErr.takeError(); in getSymbolFlags()
779 if (Expected<typename ELFT::SymRange> SymbolsOrErr = in getSymbolFlags() local
782 if (ESym == SymbolsOrErr->begin()) in getSymbolFlags()
786 return SymbolsOrErr.takeError(); in getSymbolFlags()
/freebsd/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp1791 Expected<SymbolicFile::basic_symbol_iterator_range> SymbolsOrErr = in getSymbolNamesFromObject() local
1793 if (!SymbolsOrErr) { in getSymbolNamesFromObject()
1794 error(SymbolsOrErr.takeError(), Obj.getFileName()); in getSymbolNamesFromObject()
1797 Symbols = *SymbolsOrErr; in getSymbolNamesFromObject()