[llvm] [BOLT][DWARF] Refactor legacy ranges writers (PR #96006)
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 24 17:56:17 PDT 2024
================
@@ -177,6 +177,12 @@ uint64_t DebugRangesSectionWriter::getSectionOffset() {
return SectionOffset;
}
+void DebugRangesSectionWriter::appendToRangeBuffer(
+ const DebugBufferVector &CUBuffer) {
+ *RangesStream << CUBuffer;
+ SectionOffset = RangesBuffer->size();
----------------
maksfb wrote:
I guess it's fine.
https://github.com/llvm/llvm-project/pull/96006
More information about the llvm-commits
mailing list