[llvm] [BOLT][DWARF] Refactor legacy ranges writers (PR #96006)

Sayhaan Siddiqui via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 24 15:50:48 PDT 2024


================
@@ -177,6 +177,12 @@ uint64_t DebugRangesSectionWriter::getSectionOffset() {
   return SectionOffset;
 }
 
+void DebugRangesSectionWriter::appendToRangeBuffer(
+    const DebugBufferVector &CUBuffer) {
+  *RangesStream << CUBuffer;
+  SectionOffset = RangesBuffer->size();
----------------
sayhaan wrote:

Is always in sync, will be removed in a followup PR.

https://github.com/llvm/llvm-project/pull/96006


More information about the llvm-commits mailing list