Home
last modified time | relevance | path

Searched refs:SymFlagsOrErr (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DMangling.cpp96 Expected<uint32_t> SymFlagsOrErr = Sym.getFlags(); in getObjectSymbolInfo() local
97 if (!SymFlagsOrErr) in getObjectSymbolInfo()
99 return SymFlagsOrErr.takeError(); in getObjectSymbolInfo()
102 if (*SymFlagsOrErr & object::BasicSymbolRef::SF_Undefined) in getObjectSymbolInfo()
106 if (!(*SymFlagsOrErr & object::BasicSymbolRef::SF_Global)) in getObjectSymbolInfo()
DRTDyldObjectLinkingLayer.cpp119 Expected<uint32_t> SymFlagsOrErr = Sym.getFlags(); in emit() local
120 if (!SymFlagsOrErr) { in emit()
122 ES.reportError(SymFlagsOrErr.takeError()); in emit()
128 if (!(*SymFlagsOrErr & object::BasicSymbolRef::SF_Global)) { in emit()
/external/llvm-project/llvm/lib/Object/
DArchiveWriter.cpp268 Expected<uint32_t> SymFlagsOrErr = S.getFlags(); in isArchiveSymbol() local
269 if (!SymFlagsOrErr) in isArchiveSymbol()
271 report_fatal_error(SymFlagsOrErr.takeError()); in isArchiveSymbol()
272 if (*SymFlagsOrErr & object::SymbolRef::SF_FormatSpecific) in isArchiveSymbol()
274 if (!(*SymFlagsOrErr & object::SymbolRef::SF_Global)) in isArchiveSymbol()
276 if (*SymFlagsOrErr & object::SymbolRef::SF_Undefined) in isArchiveSymbol()
/external/llvm-project/llvm/tools/llvm-nm/
Dllvm-nm.cpp825 Expected<uint32_t> SymFlagsOrErr = S.Sym.getFlags(); in sortAndPrintSymbolList() local
826 if (!SymFlagsOrErr) { in sortAndPrintSymbolList()
828 error(SymFlagsOrErr.takeError(), Obj.getFileName()); in sortAndPrintSymbolList()
831 SymFlags = *SymFlagsOrErr; in sortAndPrintSymbolList()
1249 Expected<uint32_t> SymFlagsOrErr = Sym.getFlags(); local
1250 if (!SymFlagsOrErr) {
1251 error(SymFlagsOrErr.takeError(), Obj.getFileName());
1254 if (!DebugSyms && (*SymFlagsOrErr & SymbolRef::SF_FormatSpecific))
1256 if (WithoutAliases && (*SymFlagsOrErr & SymbolRef::SF_Indirect))
/external/llvm-project/llvm/tools/llvm-size/
Dllvm-size.cpp203 Expected<uint32_t> SymFlagsOrErr = in getCommonSize() local
205 if (!SymFlagsOrErr) in getCommonSize()
206 return SymFlagsOrErr.takeError(); in getCommonSize()
207 if (*SymFlagsOrErr & SymbolRef::SF_Common) in getCommonSize()
/external/llvm-project/llvm/tools/llvm-jitlink/
Dllvm-jitlink.cpp528 Expected<uint32_t> SymFlagsOrErr = Sym.getFlags(); in add() local
529 if (!SymFlagsOrErr) in add()
531 return SymFlagsOrErr.takeError(); in add()
534 if ((*SymFlagsOrErr & object::BasicSymbolRef::SF_Undefined)) in add()
565 !(*SymFlagsOrErr & object::BasicSymbolRef::SF_Global)) in add()