Home
last modified time | relevance | path

Searched refs:copyByteArray (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinarySection.h450 inline uint8_t *copyByteArray(const uint8_t *Data, uint64_t Size) { in copyByteArray() function
456 inline uint8_t *copyByteArray(StringRef Buffer) { in copyByteArray() function
457 return copyByteArray(reinterpret_cast<const uint8_t *>(Buffer.data()), in copyByteArray()
461 inline uint8_t *copyByteArray(ArrayRef<char> Buffer) { in copyByteArray() function
462 return copyByteArray(reinterpret_cast<const uint8_t *>(Buffer.data()), in copyByteArray()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DDWARFRewriter.cpp958 copyByteArray(*DebugStrSectionContents), in finalizeDebugSections()
967 ".debug_str_offsets", copyByteArray(*DebugStrOffsetsSectionContents), in finalizeDebugSections()
975 copyByteArray(*RangesSectionContents), in finalizeDebugSections()
983 copyByteArray(*RangesSectionContents), in finalizeDebugSections()
992 ".debug_loclists", copyByteArray(*LocationListSectionContents), in finalizeDebugSections()
1001 ".debug_loc", copyByteArray(*LocationListSectionContents), in finalizeDebugSections()
1010 copyByteArray(AddressSectionContents), in finalizeDebugSections()
1056 copyByteArray(*AbbrevSectionContents), in finalizeDebugSections()
1114 copyByteArray(ARangesContents), in finalizeDebugSections()
H A DRewriteInstance.cpp4034 SectionName, copyByteArray(Dataref), Dataref.size()); in rewriteNoteSections()
4149 BC->registerOrUpdateNoteSection(".note.bolt_info", copyByteArray(BoltInfo), in addBoltInfoSection()
4172 copyByteArray(BoltInfo), BoltInfo.size(), in encodeBATSection()
4886 copyByteArray(NewContents), in patchELFSymTabs()
4893 copyByteArray(NewStrTab), in patchELFSymTabs()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinarySection.cpp258 auto *NewData = reinterpret_cast<char *>(copyByteArray(OS.str())); in reorderContents()
H A DDebugData.cpp1619 BC.registerOrUpdateNoteSection(".debug_line_str", copyByteArray(Data.str()), in emit()
/llvm-project-15.0.7/bolt/lib/RuntimeLibs/
H A DInstrumentationRuntimeLibrary.cpp328 BC.registerOrUpdateNoteSection(".bolt.instr.tables", copyByteArray(BoltInfo), in emitTablesAsELFNote()