Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DArchive.cpp67 Expected<StringRef> NameOrErr = getName(Size); in ArchiveMemberHeader() local
68 if (!NameOrErr) { in ArchiveMemberHeader()
69 consumeError(NameOrErr.takeError()); in ArchiveMemberHeader()
73 *Err = malformedError(Msg + "for " + NameOrErr.get()); in ArchiveMemberHeader()
87 Expected<StringRef> NameOrErr = getName(Size); in ArchiveMemberHeader() local
88 if (!NameOrErr) { in ArchiveMemberHeader()
89 consumeError(NameOrErr.takeError()); in ArchiveMemberHeader()
93 *Err = malformedError(Msg + "for " + NameOrErr.get()); in ArchiveMemberHeader()
143 Expected<StringRef> NameOrErr = getRawName(); in getName() local
144 if (!NameOrErr) in getName()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Delf2yaml.cpp82 auto NameOrErr = Obj.getSectionName(Sec); in getUniquedSectionName() local
83 if (!NameOrErr) in getUniquedSectionName()
84 return NameOrErr; in getUniquedSectionName()
85 StringRef Name = *NameOrErr; in getUniquedSectionName()
268 auto NameOrErr = getUniquedSectionName(Shdr); in dumpSymbol() local
269 if (!NameOrErr) in dumpSymbol()
270 return errorToErrorCode(NameOrErr.takeError()); in dumpSymbol()
271 S.Section = NameOrErr.get(); in dumpSymbol()
298 Expected<StringRef> NameOrErr = getSymbolName(Sym, StrTab, SymTab); in dumpRelocation() local
299 if (!NameOrErr) in dumpRelocation()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp98 Expected<StringRef> NameOrErr = Sym.getName(); in NotifyObjectEmitted() local
99 if (!NameOrErr) in NotifyObjectEmitted()
101 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/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp214 if (auto NameOrErr = Sym.getName()) in loadObjectImpl() local
215 Symbols.insert(*NameOrErr); in loadObjectImpl()
217 return NameOrErr.takeError(); in loadObjectImpl()
246 if (auto NameOrErr = I->getName()) in loadObjectImpl() local
247 Name = *NameOrErr; in loadObjectImpl()
249 return NameOrErr.takeError(); in loadObjectImpl()
676 if (auto NameOrErr = Sym.getName()) in emitCommonSymbols() local
677 Name = *NameOrErr; in emitCommonSymbols()
679 return NameOrErr.takeError(); in emitCommonSymbols()
/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-ar/
Dllvm-ar.cpp447 Expected<StringRef> NameOrErr = C.getName(); in performReadOperation() local
448 failIfError(NameOrErr.takeError()); in performReadOperation()
449 StringRef Name = NameOrErr.get(); in performReadOperation()
580 Expected<StringRef> NameOrErr = Child.getName(); in computeNewArchiveMembers() local
581 failIfError(NameOrErr.takeError()); in computeNewArchiveMembers()
582 StringRef Name = NameOrErr.get(); in computeNewArchiveMembers()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DMachODebugMapParser.cpp532 Expected<StringRef> NameOrErr = Sym.getName(); in loadMainBinarySymbols() local
533 if (!NameOrErr) { in loadMainBinarySymbols()
535 consumeError(NameOrErr.takeError()); in loadMainBinarySymbols()
538 StringRef Name = *NameOrErr; in loadMainBinarySymbols()
DBinaryHolder.cpp171 if (auto NameOrErr = Child.getName()) { in getObjectEntry() local
172 if (*NameOrErr == ObjectFilename) { in getObjectEntry()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
DCOFFDump.cpp213 Expected<StringRef> NameOrErr = Sym.getName(); in resolveSymbolName() local
214 if (!NameOrErr) in resolveSymbolName()
215 return errorToErrorCode(NameOrErr.takeError()); in resolveSymbolName()
216 Name = *NameOrErr; in resolveSymbolName()
Dllvm-objdump.cpp394 Expected<StringRef> NameOrErr = C.getName(); in report_error() local
398 if (!NameOrErr) { in report_error()
399 consumeError(NameOrErr.takeError()); in report_error()
402 llvm::report_error(ArchiveName, NameOrErr.get(), std::move(E), in report_error()
1943 Expected<StringRef> NameOrErr = Symbol.getName(); in PrintSymbolTable() local
1944 if (!NameOrErr) in PrintSymbolTable()
1945 report_error(ArchiveName, o->getFileName(), NameOrErr.takeError(), in PrintSymbolTable()
1947 Name = *NameOrErr; in PrintSymbolTable()
2238 Expected<StringRef> NameOrErr = C.getName(); in printArchiveChild() local
2239 if (!NameOrErr) { in printArchiveChild()
[all …]
/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()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DARMEHABIPrinter.h377 auto NameOrErr = Sym.getName(StrTable); in FunctionAtAddress() local
378 if (!NameOrErr) { in FunctionAtAddress()
380 consumeError(NameOrErr.takeError()); in FunctionAtAddress()
383 return *NameOrErr; in FunctionAtAddress()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp453 auto NameOrErr = Child.getName(); in handleArchive() local
454 error(Filename, errorToErrorCode(NameOrErr.takeError())); in handleArchive()
455 std::string Name = (Filename + "(" + NameOrErr.get() + ")").str(); in handleArchive()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-size/
Dllvm-size.cpp126 Expected<StringRef> NameOrErr = C.getName(); in error() local
130 if (!NameOrErr) { in error()
131 consumeError(NameOrErr.takeError()); in error()
134 errs() << "(" << NameOrErr.get() << ")"; in error()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DELFObjectFile.h589 if (Expected<StringRef> NameOrErr = getSymbolName(Sym)) { in getSymbolFlags() local
590 StringRef Name = *NameOrErr; in getSymbolFlags()
596 consumeError(NameOrErr.takeError()); in getSymbolFlags()

12