Home
last modified time | relevance | path

Searched refs:GenericError (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/lib/DebugInfo/PDB/
DGenericError.cpp44 char GenericError::ID = 0;
46 GenericError::GenericError(generic_error_code C) : GenericError(C, "") {} in GenericError() function in GenericError
48 GenericError::GenericError(const std::string &Context) in GenericError() function in GenericError
49 : GenericError(generic_error_code::unspecified, Context) {} in GenericError()
51 GenericError::GenericError(generic_error_code C, const std::string &Context) in GenericError() function in GenericError
61 void GenericError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } in log()
63 const std::string &GenericError::getErrorMessage() const { return ErrMsg; } in getErrorMessage()
65 std::error_code GenericError::convertToErrorCode() const { in convertToErrorCode()
DPDB.cpp36 return llvm::make_error<GenericError>("DIA is not installed on the system"); in loadDataForPDB()
49 return llvm::make_error<GenericError>("DIA is not installed on the system"); in loadDataForEXE()
DCMakeLists.txt55 GenericError.cpp
/external/llvm/include/llvm/DebugInfo/PDB/
DGenericError.h25 class GenericError : public ErrorInfo<GenericError> {
28 GenericError(generic_error_code C);
29 GenericError(const std::string &Context);
30 GenericError(generic_error_code C, const std::string &Context);
/external/llvm-project/lld/lib/Core/
DError.cpp85 char GenericError::ID = 0;
87 GenericError::GenericError(Twine Msg) : Msg(Msg.str()) { } in GenericError() function in lld::GenericError
89 void GenericError::log(raw_ostream &OS) const { in log()
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DMachONormalizedFileToAtoms.cpp400 return llvm::make_error<GenericError>(Twine("Section ") in processSection()
448 return llvm::make_error<GenericError>(Twine("Section ") in processSection()
469 return llvm::make_error<GenericError>(Twine("Section ") in processSection()
533 return llvm::make_error<GenericError>(Twine("out of range section " in convertRelocs()
539 return llvm::make_error<GenericError>(Twine("address (" + Twine(addr) in convertRelocs()
569 return llvm::make_error<GenericError>(Twine("symbol index (") in convertRelocs()
576 return llvm::make_error<GenericError>(Twine("symbol section index (") in convertRelocs()
586 return llvm::make_error<GenericError>("no atom found for defined symbol"); in convertRelocs()
593 return llvm::make_error<GenericError>("no undefined atom found for sym"); in convertRelocs()
596 return llvm::make_error<GenericError>("no atom found for symbol"); in convertRelocs()
[all …]
DArchHandler_arm.cpp630 return llvm::make_error<GenericError>("unsupported arm relocation type"); in getReferenceInfo()
788 return llvm::make_error<GenericError>("unsupported arm relocation pair"); in getPairReferenceInfo()
808 return llvm::make_error<GenericError>( in getPairReferenceInfo()
821 return llvm::make_error<GenericError>("ARM_RELOC_HALF_SECTDIFF relocation" in getPairReferenceInfo()
827 return llvm::make_error<GenericError>("expected movt instruction"); in getPairReferenceInfo()
831 return llvm::make_error<GenericError>("expected movw instruction"); in getPairReferenceInfo()
838 return llvm::make_error<GenericError>("expected movt instruction"); in getPairReferenceInfo()
842 return llvm::make_error<GenericError>("expected movw instruction"); in getPairReferenceInfo()
859 return llvm::make_error<GenericError>("expected movt instruction"); in getPairReferenceInfo()
863 return llvm::make_error<GenericError>("expected movw instruction"); in getPairReferenceInfo()
[all …]
DArchHandler_x86_64.cpp407 return llvm::make_error<GenericError>("unknown type"); in getReferenceInfo()
507 return llvm::make_error<GenericError>("Invalid pointer diff"); in getPairReferenceInfo()
523 return llvm::make_error<GenericError>("Invalid pointer diff"); in getPairReferenceInfo()
529 return llvm::make_error<GenericError>("pointer diff not in base atom"); in getPairReferenceInfo()
536 return llvm::make_error<GenericError>("pointer diff not in base atom"); in getPairReferenceInfo()
541 return llvm::make_error<GenericError>("unknown pair"); in getPairReferenceInfo()
DMachONormalizedFileBinaryReader.cpp71 return llvm::make_error<GenericError>("Load command exceeds range"); in forEachLoadCommand()
224 return llvm::make_error<GenericError>("File is not a mach-o"); in readBinary()
241 return llvm::make_error<GenericError>("Load commands exceed file size"); in readBinary()
246 return llvm::make_error<GenericError>( in readBinary()
DMachOLinkingContext.cpp1042 return llvm::make_error<GenericError>(file.path() + in handleLoadedFile()
1052 return llvm::make_error<GenericError>(file.path() + in handleLoadedFile()
1069 return llvm::make_error<GenericError>(file.path() + in handleLoadedFile()
1081 return llvm::make_error<GenericError>(file.path() + in handleLoadedFile()
1098 return llvm::make_error<GenericError>("different swift versions"); in handleLoadedFile()
DTLVPass.cpp83 return llvm::make_error<GenericError>( in perform()
DArchHandler_x86.cpp342 return llvm::make_error<GenericError>("unsupported i386 relocation type"); in getReferenceInfo()
381 return llvm::make_error<GenericError>( in getPairReferenceInfo()
405 return llvm::make_error<GenericError>("unsupported i386 relocation type"); in getPairReferenceInfo()
DArchHandler_arm64.cpp468 return llvm::make_error<GenericError>("unsupported arm64 relocation type"); in getReferenceInfo()
521 return llvm::make_error<GenericError>( in getPairReferenceInfo()
534 return llvm::make_error<GenericError>("unsupported arm64 relocation pair"); in getPairReferenceInfo()
/external/llvm-project/lld/include/lld/Core/
DError.h46 class GenericError : public llvm::ErrorInfo<GenericError> {
49 GenericError(Twine Msg);
/external/rust/crates/tinytemplate/src/
Derror.rs25 GenericError { enumerator
75 Error::GenericError { msg } => { in fmt()
115 Error::GenericError { msg } => &msg, in description()
169 Error::GenericError { in unprintable_error()
Dlib.rs224 None => Err(Error::GenericError { in render()
/external/llvm/lib/DebugInfo/PDB/DIA/
DDIASession.cpp32 return make_error<GenericError>(generic_error_code::invalid_path); in ErrorFromHResult()
56 return llvm::make_error<GenericError>( in LoadDIA()
91 return make_error<GenericError>(generic_error_code::invalid_path); in createFromPdb()
116 return make_error<GenericError>(generic_error_code::invalid_path, Path); in createFromExe()
/external/llvm-project/clang/test/Analysis/
DkeychainAPI-diagnostic-visitor.m12 GenericError = 1
DkeychainAPI.m16 GenericError = 1
79 if (st == GenericError)
147 if( err == GenericError ) {
/external/clang/test/Analysis/
DkeychainAPI-diagnostic-visitor.m12 GenericError = 1
DkeychainAPI.m16 GenericError = 1
79 if (st == GenericError)
155 if( err == GenericError ) {
/external/llvm/lib/DebugInfo/PDB/Raw/
DRawSession.cpp55 return llvm::make_error<GenericError>(generic_error_code::invalid_path); in createFromPdb()
/external/llvm/tools/llvm-pdbdump/
Dllvm-pdbdump.cpp305 ExitOnErr(make_error<GenericError>(generic_error_code::invalid_path, Path)); in yamlToPdb()
314 ExitOnErr(make_error<GenericError>(generic_error_code::unspecified, in yamlToPdb()
320 ExitOnErr(make_error<GenericError>(generic_error_code::invalid_path, in yamlToPdb()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/
DCMakeLists.txt88 GenericError.cpp
/external/llvm-project/llvm/utils/gn/secondary/llvm/lib/DebugInfo/PDB/
DBUILD.gn13 "GenericError.cpp",

12