/external/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 194 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/ |
D | Archive.cpp | 146 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/ |
D | OProfileJITEventListener.cpp | 94 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/ |
D | RuntimeDyld.cpp | 221 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/ |
D | llvm-ar.cpp | 411 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/ |
D | MachODebugMapParser.cpp | 469 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()
|
D | BinaryHolder.cpp | 107 if (auto NameOrErr = Child.getName()) { in GetArchiveMemberBuffers() local 108 if (*NameOrErr == Filename) { in GetArchiveMemberBuffers()
|
/external/llvm/tools/llvm-objdump/ |
D | COFFDump.cpp | 218 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()
|
D | llvm-objdump.cpp | 315 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()
|
D | MachODump.cpp | 1523 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/ |
D | ARMEHABIPrinter.h | 359 auto NameOrErr = Sym.getName(StrTable); in FunctionAtAddress() local 360 if (!NameOrErr) { in FunctionAtAddress() 362 consumeError(NameOrErr.takeError()); in FunctionAtAddress() 365 return *NameOrErr; in FunctionAtAddress()
|
D | COFFDumper.cpp | 231 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/ |
D | llvm-size.cpp | 117 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/ |
D | ELFObjectFile.h | 504 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/ |
D | sancov.cc | 332 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/ |
D | llvm-nm.cpp | 201 ErrorOr<StringRef> NameOrErr = C.getName(); in error() local 205 if (NameOrErr.getError()) in error() 208 errs() << "(" << NameOrErr.get() << ")"; in error()
|