Home
last modified time | relevance | path

Searched refs:SimpleBinaryPatcher (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/bolt/include/bolt/Rewrite/
H A DDWARFRewriter.h83 std::unordered_map<uint64_t, std::unique_ptr<SimpleBinaryPatcher>>;
114 SimpleBinaryPatcher &DebugInfoPatcher,
173 SimpleBinaryPatcher &DebugInfoPatcher,
211 SimpleBinaryPatcher *getBinaryDWODebugInfoPatcher(uint64_t DwoId) { in getBinaryDWODebugInfoPatcher()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DDebugData.h479 class SimpleBinaryPatcher; variable
605 enum class PatcherKind { SimpleBinaryPatcher, DebugInfoBinaryPatcher }; enumerator
618 class SimpleBinaryPatcher : public BinaryPatcher {
635 virtual ~SimpleBinaryPatcher() {} in ~SimpleBinaryPatcher()
638 return PatcherKind::SimpleBinaryPatcher; in getKind()
641 static bool classof(const SimpleBinaryPatcher *Patcher) { in classof()
642 return Patcher->getKind() == PatcherKind::SimpleBinaryPatcher; in classof()
691 class DebugInfoBinaryPatcher : public SimpleBinaryPatcher {
850 static bool classof(const SimpleBinaryPatcher *Patcher) { in classof()
/llvm-project-15.0.7/bolt/lib/Core/
H A DDebugData.cpp784 void SimpleBinaryPatcher::addBinaryPatch(uint64_t Offset, in addBinaryPatch()
790 void SimpleBinaryPatcher::addBytePatch(uint64_t Offset, uint8_t Value) { in addBytePatch()
795 void SimpleBinaryPatcher::addLEPatch(uint64_t Offset, uint64_t NewValue, in addLEPatch()
800 void SimpleBinaryPatcher::addUDataPatch(uint64_t Offset, uint64_t Value, in addUDataPatch()
809 void SimpleBinaryPatcher::addLE64Patch(uint64_t Offset, uint64_t NewValue) { in addLE64Patch()
813 void SimpleBinaryPatcher::addLE32Patch(uint64_t Offset, uint32_t NewValue, in addLE32Patch()
818 std::string SimpleBinaryPatcher::patchBinary(StringRef BinaryContents) { in patchBinary()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DDWARFRewriter.cpp772 SimpleBinaryPatcher &DebugInfoPatcher, DebugAbbrevWriter &AbbrevWriter, in updateDWARFObjectAddressRanges()
1060 SimpleBinaryPatcher *DebugTypesPatcher = nullptr; in finalizeDebugSections()
1090 DebugTypes->registerPatcher(std::make_unique<SimpleBinaryPatcher>()); in finalizeDebugSections()
1092 static_cast<SimpleBinaryPatcher *>(DebugTypes->getPatcher()); in finalizeDebugSections()
1867 SimpleBinaryPatcher &DebugInfoPatcher, Optional<uint64_t> RangesBase) { in convertToRangesPatchDebugInfo()
H A DRewriteInstance.cpp3484 SDTSection->registerPatcher(std::make_unique<SimpleBinaryPatcher>()); in updateSDTMarkers()
3486 SimpleBinaryPatcher *SDTNotePatcher = in updateSDTMarkers()
3487 static_cast<SimpleBinaryPatcher *>(SDTSection->getPatcher()); in updateSDTMarkers()
3530 SimpleBinaryPatcher *LKPatcher; in updateLKMarkers()
3534 BSec->registerPatcher(std::make_unique<SimpleBinaryPatcher>()); in updateLKMarkers()
3535 LKPatcher = static_cast<SimpleBinaryPatcher *>(BSec->getPatcher()); in updateLKMarkers()