/external/llvm-project/llvm/lib/ObjectYAML/ |
D | yaml2obj.cpp | 21 bool convertYAML(yaml::Input &YIn, raw_ostream &Out, ErrorHandler ErrHandler, in convertYAML() argument 31 ErrHandler("failed to parse YAML input: " + EC.message()); in convertYAML() 36 return yaml2archive(*Doc.Arch, Out, ErrHandler); in convertYAML() 38 return yaml2elf(*Doc.Elf, Out, ErrHandler, MaxSize); in convertYAML() 40 return yaml2coff(*Doc.Coff, Out, ErrHandler); in convertYAML() 42 return yaml2macho(Doc, Out, ErrHandler); in convertYAML() 44 return yaml2minidump(*Doc.Minidump, Out, ErrHandler); in convertYAML() 46 return yaml2wasm(*Doc.Wasm, Out, ErrHandler); in convertYAML() 48 ErrHandler("unknown document type"); in convertYAML() 53 ErrHandler("cannot find the " + Twine(DocNum) + in convertYAML() [all …]
|
D | COFFEmitter.cpp | 38 : Obj(Obj), SectionTableStart(0), SectionTableSize(0), ErrHandler(EH) { in COFFParser() 84 ErrHandler("string table got too large"); in parseSections() 93 ErrHandler("section alignment is too large"); in parseSections() 97 ErrHandler("section alignment is not a power of 2"); in parseSections() 159 yaml::ErrorHandler ErrHandler; member 605 ErrorHandler ErrHandler) { in yaml2coff() argument 606 COFFParser CP(Doc, ErrHandler); in yaml2coff() 608 ErrHandler("failed to parse YAML file"); in yaml2coff() 613 ErrHandler("failed to layout optional header for COFF file"); in yaml2coff() 618 ErrHandler("failed to layout COFF file"); in yaml2coff() [all …]
|
D | WasmEmitter.cpp | 29 : Obj(Obj), ErrHandler(EH) {} in WasmWriter() 67 yaml::ErrorHandler ErrHandler; member in __anon1cd0f4720111::WasmWriter 127 ErrHandler(Msg); in reportError()
|
D | ELFEmitter.cpp | 201 yaml::ErrorHandler ErrHandler; member in __anonbe606ff10111::ELFState 332 : Doc(D), ErrHandler(EH) { in ELFState() 1051 ErrHandler(Msg); in reportError()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
D | yaml2obj.cpp | 21 bool convertYAML(yaml::Input &YIn, raw_ostream &Out, ErrorHandler ErrHandler, in convertYAML() argument 31 ErrHandler("failed to parse YAML input: " + EC.message()); in convertYAML() 36 return yaml2elf(*Doc.Elf, Out, ErrHandler); in convertYAML() 38 return yaml2coff(*Doc.Coff, Out, ErrHandler); in convertYAML() 40 return yaml2macho(Doc, Out, ErrHandler); in convertYAML() 42 return yaml2minidump(*Doc.Minidump, Out, ErrHandler); in convertYAML() 44 return yaml2wasm(*Doc.Wasm, Out, ErrHandler); in convertYAML() 46 ErrHandler("unknown document type"); in convertYAML() 51 ErrHandler("cannot find the " + Twine(DocNum) + in convertYAML() 58 ErrorHandler ErrHandler) { in yaml2ObjectFile() argument [all …]
|
D | COFFEmitter.cpp | 38 : Obj(Obj), SectionTableStart(0), SectionTableSize(0), ErrHandler(EH) { in COFFParser() 84 ErrHandler("string table got too large"); in parseSections() 93 ErrHandler("section alignment is too large"); in parseSections() 97 ErrHandler("section alignment is not a power of 2"); in parseSections() 159 yaml::ErrorHandler ErrHandler; member 605 ErrorHandler ErrHandler) { in yaml2coff() argument 606 COFFParser CP(Doc, ErrHandler); in yaml2coff() 608 ErrHandler("failed to parse YAML file"); in yaml2coff() 613 ErrHandler("failed to layout optional header for COFF file"); in yaml2coff() 618 ErrHandler("failed to layout COFF file"); in yaml2coff() [all …]
|
D | WasmEmitter.cpp | 29 : Obj(Obj), ErrHandler(EH) {} in WasmWriter() 66 yaml::ErrorHandler ErrHandler; member in __anon64a356e60111::WasmWriter 126 ErrHandler(Msg); in reportError()
|
D | ELFEmitter.cpp | 132 yaml::ErrorHandler ErrHandler; member in __anon637653e50111::ELFState 236 : Doc(D), ErrHandler(EH) { in ELFState() 682 ErrHandler(Msg); in reportError()
|
/external/llvm-project/llvm/unittests/ObjectYAML/ |
D | YAML2ObjTest.cpp | 23 auto ErrHandler = [&](const Twine &Msg) { ErrorReported = true; }; in TEST() local 32 Machine: EM_X86_64)", ErrHandler); in TEST() 42 auto ErrHandler = [&](const Twine &Msg) { in TEST() local 62 std::unique_ptr<ObjectFile> Obj = yaml2ObjectFile(Storage, Yaml, ErrHandler); in TEST() 76 bool Res = convertYAML(YIn, OS, ErrHandler); in TEST()
|
/external/llvm-project/llvm/tools/yaml2obj/ |
D | yaml2obj.cpp | 58 yaml::ErrorHandler ErrHandler) { in preprocess() argument 64 ErrHandler("invalid syntax for -D: " + Define); in preprocess() 68 ErrHandler("'" + Macro + "'" + " redefined"); in preprocess() 114 auto ErrHandler = [](const Twine &Msg) { in main() local 122 ErrHandler("failed to open '" + OutputFilename + "': " + EC.message()); in main() 131 Optional<std::string> Buffer = preprocess(Buf.get()->getBuffer(), ErrHandler); in main() 136 if (!convertYAML(YIn, Out->os(), ErrHandler, DocNum, in main()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitstreamReader.cpp | 58 ErrHandler->Fatal(StrBuf.str()); in reportInvalidAbbrevNumber() 65 ErrHandler->Fatal(StrBuf.str()); in reportInvalidJumpToBit() 218 ErrHandler->Fatal("No code found for record!"); in readRecord() 248 ErrHandler->Fatal(StrBuf.str()); in getEncoding() 294 ErrHandler->Fatal(StrBuf.str()); in ReadAbbrevRecord() 303 ErrHandler->Fatal(StrBuf.str()); in ReadAbbrevRecord() 310 ErrHandler->Fatal("Invalid abbreviation specified in bitcode file"); in ReadAbbrevRecord()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/ |
D | yaml2obj.h | 56 bool convertYAML(Input &YIn, raw_ostream &Out, ErrorHandler ErrHandler, 62 ErrorHandler ErrHandler);
|
/external/llvm-project/llvm/include/llvm/ObjectYAML/ |
D | yaml2obj.h | 62 bool convertYAML(Input &YIn, raw_ostream &Out, ErrorHandler ErrHandler, 68 ErrorHandler ErrHandler);
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitstreamReader.h | 408 std::unique_ptr<ErrorHandler> ErrHandler; variable 491 NaClBitstreamCursor() : ErrHandler(new ErrorHandler(*this)) { init(nullptr); } in NaClBitstreamCursor() 494 : ErrHandler(new ErrorHandler(*this)) { in NaClBitstreamCursor() 521 ErrHandler = std::move(NewHandler); in setErrorHandler()
|
D | NaClBitcodeParser.h | 398 std::unique_ptr<NaClBitstreamCursor::ErrorHandler> ErrHandler( in NaClBitcodeParser() 400 Cursor.setErrorHandler(ErrHandler); in NaClBitcodeParser()
|
/external/llvm-project/llvm/tools/llvm-ifs/ |
D | llvm-ifs.cpp | 339 auto ErrHandler = [](const Twine &Msg) { in writeElfStub() local 342 return convertYAML(YIn, Out, ErrHandler) ? 0 : 1; in writeElfStub()
|