Home
last modified time | relevance | path

Searched refs:JITLinkError (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFF.cpp50 return make_error<JITLinkError>("Invalid COFF buffer"); in createLinkGraphFromCOFFObject()
53 return make_error<JITLinkError>("Truncated COFF buffer"); in createLinkGraphFromCOFFObject()
67 return make_error<JITLinkError>("Incorrect PE magic"); in createLinkGraphFromCOFFObject()
74 return make_error<JITLinkError>("Truncated COFF buffer"); in createLinkGraphFromCOFFObject()
85 return make_error<JITLinkError>("Truncated COFF buffer"); in createLinkGraphFromCOFFObject()
114 return make_error<JITLinkError>( in createLinkGraphFromCOFFObject()
127 Ctx->notifyFailed(make_error<JITLinkError>( in link_COFF()
H A DMachO.cpp32 return make_error<JITLinkError>("Truncated MachO buffer \"" + in createLinkGraphFromMachOObject()
44 return make_error<JITLinkError>("MachO 32-bit platforms not supported"); in createLinkGraphFromMachOObject()
48 return make_error<JITLinkError>("Truncated MachO buffer \"" + in createLinkGraphFromMachOObject()
70 return make_error<JITLinkError>("MachO-64 CPU type not valid"); in createLinkGraphFromMachOObject()
72 return make_error<JITLinkError>("Unrecognized MachO magic value"); in createLinkGraphFromMachOObject()
84 Ctx->notifyFailed(make_error<JITLinkError>("MachO-64 CPU type not valid")); in link_MachO()
143 return make_error<JITLinkError>("Cannot create local Mach-O header for " + in getOrCreateLocalMachOHeader()
H A DMachO_arm64.cpp136 return make_error<JITLinkError>( in getRelocationKind()
165 return make_error<JITLinkError>("arm64 SUBTRACTOR without paired " in parsePairRelocation()
171 return make_error<JITLinkError>("arm64 SUBTRACTOR and paired UNSIGNED " in parsePairRelocation()
175 return make_error<JITLinkError>("length of arm64 SUBTRACTOR and paired " in parsePairRelocation()
231 return make_error<JITLinkError>("SUBTRACTOR relocation must fix up " in parsePairRelocation()
265 return make_error<JITLinkError>("Virtual section contains " in addRelocations()
317 return make_error<JITLinkError>( in addRelocations()
338 return make_error<JITLinkError>("Unpaired Addend reloc at " + in addRelocations()
349 return make_error<JITLinkError>( in addRelocations()
363 return make_error<JITLinkError>("Paired relocation points at " in addRelocations()
[all …]
H A DCompactUnwindSupport.h125 return make_error<JITLinkError>( in prepareForPrune()
130 return make_error<JITLinkError>( in prepareForPrune()
191 return make_error<JITLinkError>( in prepareForPrune()
198 return make_error<JITLinkError>( in prepareForPrune()
233 return make_error<JITLinkError>("In " + G.getName() + ", " + in processAndReserveUnwindInfo()
280 return make_error<JITLinkError>("In " + G.getName() + ", " + in writeUnwindInfo()
285 return make_error<JITLinkError>( in writeUnwindInfo()
408 return make_error<JITLinkError>( in processCompactUnwind()
423 return make_error<JITLinkError>("In " + G.getName() + in processCompactUnwind()
481 return make_error<JITLinkError>("In " + G.getName() + ", too many " + in writeHeader()
[all …]
H A DEHFrameSupport.cpp42 return make_error<JITLinkError>( in operator ()()
102 return make_error<JITLinkError>( in readCFIRecordLength()
118 return make_error<JITLinkError>("Unexpected zero-fill block in " + in processBlock()
156 return make_error<JITLinkError>("Incomplete CFI record at " + in processBlock()
197 return make_error<JITLinkError>("Bad CIE version " + Twine(Version) + in processCIE()
264 return make_error<JITLinkError>( in processCIE()
277 return make_error<JITLinkError>("Read past the end of the augmentation " in processCIE()
310 return make_error<JITLinkError>( in processFDE()
339 return make_error<JITLinkError>( in processFDE()
421 return make_error<JITLinkError>("Unrecognized substring e" + in parseAugmentationString()
[all …]
H A DELF_aarch64.cpp219 return make_error<JITLinkError>( in getRelocationKind()
281 return make_error<JITLinkError>( in addSingleRelocation()
290 return make_error<JITLinkError>( in addSingleRelocation()
308 return make_error<JITLinkError>( in addSingleRelocation()
319 return make_error<JITLinkError>( in addSingleRelocation()
330 return make_error<JITLinkError>( in addSingleRelocation()
341 return make_error<JITLinkError>( in addSingleRelocation()
352 return make_error<JITLinkError>( in addSingleRelocation()
363 return make_error<JITLinkError>( in addSingleRelocation()
374 return make_error<JITLinkError>( in addSingleRelocation()
[all …]
H A DCOFFLinkGraphBuilder.cpp75 return make_error<JITLinkError>("Object is not a relocatable COFF file"); in buildGraph()
162 return make_error<JITLinkError>("MemProt should match"); in graphifySections()
218 return make_error<JITLinkError>( in graphifySymbols()
289 return make_error<JITLinkError>( in handleDirectiveSection()
343 return make_error<JITLinkError>("Weak symbol alias requested but actual " in flushWeakAliasRequests()
391 return make_error<JITLinkError>("Weak external symbol with external " in createAliasSymbol()
482 return make_error<JITLinkError>( in createDefinedSymbol()
508 return make_error<JITLinkError>("No pending COMDAT export for symbol " + in createDefinedSymbol()
534 return make_error<JITLinkError>( in createDefinedSymbol()
539 return make_error<JITLinkError>("Unsupported storage class " + in createDefinedSymbol()
[all …]
H A DMachOLinkGraphBuilder.cpp31 return make_error<JITLinkError>("Object is not a relocatable MachO"); in buildGraph()
166 return make_error<JITLinkError>( in createNormalizedSections()
215 return make_error<JITLinkError>( in createNormalizedSections()
269 return make_error<JITLinkError>("Symbol at index " + in createNormalizedSymbols()
298 return make_error<JITLinkError>("Address " + formatv("{0:x}", Value) + in createNormalizedSymbols()
353 return make_error<JITLinkError>("Anonymous common symbol at index " + in graphifyRegularSymbols()
364 return make_error<JITLinkError>("Anonymous external symbol at " in graphifyRegularSymbols()
373 return make_error<JITLinkError>("Anonymous absolute symbol at index " + in graphifyRegularSymbols()
383 return make_error<JITLinkError>( in graphifyRegularSymbols()
388 return make_error<JITLinkError>( in graphifyRegularSymbols()
[all …]
H A DCompactUnwindSupport.cpp53 return make_error<JITLinkError>( in splitCompactUnwindBlocks()
79 return make_error<JITLinkError>( in splitCompactUnwindBlocks()
92 return make_error<JITLinkError>( in splitCompactUnwindBlocks()
H A DELF.cpp76 return make_error<JITLinkError>("Truncated ELF buffer"); in createLinkGraphFromELFObject()
79 return make_error<JITLinkError>("ELF magic not valid"); in createLinkGraphFromELFObject()
106 return make_error<JITLinkError>( in createLinkGraphFromELFObject()
145 Ctx->notifyFailed(make_error<JITLinkError>( in link_ELF()
H A DMachO_x86_64.cpp112 return make_error<JITLinkError>( in getRelocKind()
140 return make_error<JITLinkError>("x86_64 SUBTRACTOR without paired " in parsePairRelocation()
146 return make_error<JITLinkError>("x86_64 SUBTRACTOR and paired UNSIGNED " in parsePairRelocation()
150 return make_error<JITLinkError>("length of x86_64 SUBTRACTOR and paired " in parsePairRelocation()
206 return make_error<JITLinkError>("SUBTRACTOR relocation must fix up " in parsePairRelocation()
240 return make_error<JITLinkError>("Virtual section contains " in addRelocations()
288 return make_error<JITLinkError>( in addRelocations()
333 return make_error<JITLinkError>("GOTLD at invalid offset " + in addRelocations()
352 return make_error<JITLinkError>("TLV at invalid offset " + in addRelocations()
H A DJITLink.cpp53 char JITLinkError::ID = 0;
55 void JITLinkError::log(raw_ostream &OS) const { OS << ErrMsg; } in log()
57 std::error_code JITLinkError::convertToErrorCode() const { in convertToErrorCode()
456 return make_error<JITLinkError>(std::move(ErrMsg)); in makeTargetOutOfRangeError()
461 return make_error<JITLinkError>("0x" + llvm::utohexstr(Loc.getValue()) + in makeAlignmentError()
514 return make_error<JITLinkError>("Unsupported file format"); in createLinkGraphFromObject()
547 Ctx->notifyFailed(make_error<JITLinkError>("Unsupported object format")); in link()
H A Daarch32.cpp240 return make_error<JITLinkError>( in makeUnexpectedOpcodeError()
247 return make_error<JITLinkError>( in makeUnexpectedOpcodeError()
402 return make_error<JITLinkError>( in readAddendData()
425 return make_error<JITLinkError>( in readAddendArm()
456 return make_error<JITLinkError>( in readAddendThumb()
514 return make_error<JITLinkError>( in applyFixupData()
535 return make_error<JITLinkError>("Branch relocation needs interworking " in applyFixupArm()
550 return make_error<JITLinkError>("Relocation expects an unconditional " in applyFixupArm()
588 return make_error<JITLinkError>( in applyFixupArm()
611 return make_error<JITLinkError>("Branch relocation needs interworking " in applyFixupThumb()
[all …]
H A DMachOLinkGraphBuilder.h122 return make_error<JITLinkError>("No section recorded for index " + in findSectionByIndex()
133 return make_error<JITLinkError>("No symbol at index " + in findSymbolByIndex()
157 return make_error<JITLinkError>("No symbol covering address " + in findSymbolByAddress()
H A DELF_aarch32.cpp73 return make_error<JITLinkError>( in getJITLinkEdgeKind()
113 return make_error<JITLinkError>(formatv("Invalid aarch32 edge {0:d}: ", in getELFRelocationType()
264 return make_error<JITLinkError>( in createLinkGraphFromELFObject_aarch32()
292 return make_error<JITLinkError>( in createLinkGraphFromELFObject_aarch32()
H A DELFLinkGraphBuilder.h207 return make_error<JITLinkError>("Object is not a relocatable ELF file"); in buildGraph()
292 return make_error<JITLinkError>("Multiple SHT_SYMTAB sections in " + in prepare()
300 return make_error<JITLinkError>("sh_link is out of bound"); in prepare()
384 return make_error<JITLinkError>(std::move(ErrMsg)); in graphifySections()
529 return make_error<JITLinkError>(std::move(ErrMsg)); in graphifySymbols()
H A DXCOFF.cpp30 return make_error<JITLinkError>("Invalid XCOFF 64 Header"); in createLinkGraphFromXCOFFObject()
H A DCOFFDirectiveParser.cpp65 return make_error<JITLinkError>(Twine("COFF directive parsing failed: ") + in parse()
H A DDWARFRecordSectionSplitter.cpp69 return make_error<JITLinkError>("Unexpected zero-fill block in " + in processBlock()
H A DEHFrameSupportImpl.h79 return make_error<JITLinkError>("No CIE found at address " + in findCIEInfo()
H A DELF_x86.cpp140 return make_error<JITLinkError>( in getRelocationKind()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A Daarch64.h543 return make_error<JITLinkError>("BranchPCRel26 target is not 32-bit " in applyFixup()
577 return make_error<JITLinkError>("LDR literal target is not 32-bit " in applyFixup()
608 return make_error<JITLinkError>( in applyFixup()
625 return make_error<JITLinkError>( in applyFixup()
663 return make_error<JITLinkError>("PAGEOFF12 target is not aligned"); in applyFixup()
676 return make_error<JITLinkError>("PAGEOFF15 target is out of range"); in applyFixup()
681 return make_error<JITLinkError>("PAGEOFF15 target is not aligned"); in applyFixup()
689 return make_error<JITLinkError>( in applyFixup()
H A Dloongarch.h497 return make_error<JITLinkError>( in applyFixup()
544 return make_error<JITLinkError>( in applyFixup()
557 return make_error<JITLinkError>( in applyFixup()
H A Dppc64.h349 return make_error<JITLinkError>( in relocateHalf16()
490 return make_error<JITLinkError>( in applyFixup()
H A Dx86.h246 return make_error<JITLinkError>( in applyFixup()

12