Home
last modified time | relevance | path

Searched refs:NameOrErr (Results 1 – 16 of 16) sorted by relevance

/external/llvm/tools/obj2yaml/
Delf2yaml.cpp194 ErrorOr<StringRef> NameOrErr = Obj.getSectionName(Shdr); in dumpSymbol() local
195 if (std::error_code EC = NameOrErr.getError()) in dumpSymbol()
197 S.Section = NameOrErr.get(); in dumpSymbol()
220 Expected<StringRef> NameOrErr = Sym->getName(StrTab); in dumpRelocation() local
221 if (!NameOrErr) in dumpRelocation()
222 return errorToErrorCode(NameOrErr.takeError()); in dumpRelocation()
223 R.Symbol = NameOrErr.get(); in dumpRelocation()
236 ErrorOr<StringRef> NameOrErr = Obj.getSectionName(Shdr); in dumpCommonSection() local
237 if (std::error_code EC = NameOrErr.getError()) in dumpCommonSection()
239 S.Name = NameOrErr.get(); in dumpCommonSection()
[all …]
/external/llvm/lib/Object/
DArchive.cpp146 ErrorOr<StringRef> NameOrErr = getName(); in getFullName() local
147 if (std::error_code EC = NameOrErr.getError()) in getFullName()
149 StringRef Name = *NameOrErr; in getFullName()
250 ErrorOr<StringRef> NameOrErr = getName(); in getMemoryBufferRef() local
251 if (std::error_code EC = NameOrErr.getError()) in getMemoryBufferRef()
253 StringRef Name = NameOrErr.get(); in getMemoryBufferRef()
365 ErrorOr<StringRef> NameOrErr = C->getName(); in Archive() local
366 if (auto ec = NameOrErr.getError()) { in Archive()
370 Name = NameOrErr.get(); in Archive()
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp94 ErrorOr<StringRef> NameOrErr = Sym.getName(); in NotifyObjectEmitted() local
95 if (NameOrErr.getError()) in NotifyObjectEmitted()
97 StringRef Name = *NameOrErr; in NotifyObjectEmitted()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp221 if (auto NameOrErr = I->getName()) in loadObjectImpl() local
222 Name = *NameOrErr; in loadObjectImpl()
224 return NameOrErr.takeError(); in loadObjectImpl()
581 if (auto NameOrErr = Sym.getName()) in emitCommonSymbols() local
582 Name = *NameOrErr; in emitCommonSymbols()
584 return NameOrErr.takeError(); in emitCommonSymbols()
621 if (auto NameOrErr = Sym.getName()) in emitCommonSymbols() local
622 Name = *NameOrErr; in emitCommonSymbols()
624 return NameOrErr.takeError(); in emitCommonSymbols()
/external/llvm/tools/llvm-ar/
Dllvm-ar.cpp411 ErrorOr<StringRef> NameOrErr = C.getName(); in performReadOperation() local
412 failIfError(NameOrErr.getError()); in performReadOperation()
413 StringRef Name = NameOrErr.get(); in performReadOperation()
539 ErrorOr<StringRef> NameOrErr = Child.getName(); in computeNewArchiveMembers() local
540 failIfError(NameOrErr.getError()); in computeNewArchiveMembers()
541 StringRef Name = NameOrErr.get(); in computeNewArchiveMembers()
/external/llvm/tools/dsymutil/
DMachODebugMapParser.cpp469 Expected<StringRef> NameOrErr = Sym.getName(); in loadMainBinarySymbols() local
470 if (!NameOrErr) { in loadMainBinarySymbols()
472 consumeError(NameOrErr.takeError()); in loadMainBinarySymbols()
475 StringRef Name = *NameOrErr; in loadMainBinarySymbols()
DBinaryHolder.cpp107 if (auto NameOrErr = Child.getName()) { in GetArchiveMemberBuffers() local
108 if (*NameOrErr == Filename) { in GetArchiveMemberBuffers()
/external/llvm/tools/llvm-objdump/
DCOFFDump.cpp218 Expected<StringRef> NameOrErr = Sym.getName(); in resolveSymbolName() local
219 if (!NameOrErr) in resolveSymbolName()
220 return errorToErrorCode(NameOrErr.takeError()); in resolveSymbolName()
221 Name = *NameOrErr; in resolveSymbolName()
Dllvm-objdump.cpp315 ErrorOr<StringRef> NameOrErr = C.getName(); in report_error() local
319 if (NameOrErr.getError()) in report_error()
322 llvm::report_error(ArchiveName, NameOrErr.get(), std::move(E), in report_error()
1419 Expected<StringRef> NameOrErr = Symbol.getName(); in PrintSymbolTable() local
1420 if (!NameOrErr) in PrintSymbolTable()
1421 report_error(ArchiveName, o->getFileName(), NameOrErr.takeError(), in PrintSymbolTable()
1423 Name = *NameOrErr; in PrintSymbolTable()
DMachODump.cpp1523 ErrorOr<StringRef> NameOrErr = C.getName(); in printArchiveChild() local
1524 if (NameOrErr.getError()) { in printArchiveChild()
1528 StringRef Name = NameOrErr.get(); in printArchiveChild()
6982 Expected<StringRef> NameOrErr = Reloc.getSymbol()->getName(); in findUnwindRelocNameAddend() local
6983 if (!NameOrErr) { in findUnwindRelocNameAddend()
6986 logAllUnhandledErrors(NameOrErr.takeError(), OS, ""); in findUnwindRelocNameAddend()
6990 Name = *NameOrErr; in findUnwindRelocNameAddend()
7023 Expected<StringRef> NameOrErr = Sym->second.getName(); in findUnwindRelocNameAddend() local
7024 if (!NameOrErr) { in findUnwindRelocNameAddend()
7027 logAllUnhandledErrors(NameOrErr.takeError(), OS, ""); in findUnwindRelocNameAddend()
[all …]
/external/llvm/tools/llvm-readobj/
DARMEHABIPrinter.h359 auto NameOrErr = Sym.getName(StrTable); in FunctionAtAddress() local
360 if (!NameOrErr) { in FunctionAtAddress()
362 consumeError(NameOrErr.takeError()); in FunctionAtAddress()
365 return *NameOrErr; in FunctionAtAddress()
DCOFFDumper.cpp231 Expected<StringRef> NameOrErr = Symbol.getName(); in resolveSymbolName() local
232 if (!NameOrErr) in resolveSymbolName()
233 return errorToErrorCode(NameOrErr.takeError()); in resolveSymbolName()
234 Name = *NameOrErr; in resolveSymbolName()
/external/llvm/tools/llvm-size/
Dllvm-size.cpp117 ErrorOr<StringRef> NameOrErr = C.getName(); in error() local
121 if (NameOrErr.getError()) in error()
124 errs() << "(" << NameOrErr.get() << ")"; in error()
/external/llvm/include/llvm/Object/
DELFObjectFile.h504 if (Expected<StringRef> NameOrErr = getSymbolName(Sym)) { in getSymbolFlags() local
505 StringRef Name = *NameOrErr; in getSymbolFlags()
511 consumeError(NameOrErr.takeError()); in getSymbolFlags()
/external/llvm/tools/sancov/
Dsancov.cc332 Expected<StringRef> NameOrErr = Symbol.getName(); in findSanitizerCovFunctions() local
333 FailIfError(errorToErrorCode(NameOrErr.takeError())); in findSanitizerCovFunctions()
334 StringRef Name = NameOrErr.get(); in findSanitizerCovFunctions()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp201 ErrorOr<StringRef> NameOrErr = C.getName(); in error() local
205 if (NameOrErr.getError()) in error()
208 errs() << "(" << NameOrErr.get() << ")"; in error()