[llvm] [BOLT][DWARF] Refactor updateDWARFObjectAddressRanges (PR #96006)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 20 10:36:08 PDT 2024


================
@@ -177,6 +177,13 @@ uint64_t DebugRangesSectionWriter::getSectionOffset() {
   return SectionOffset;
 }
 
+void DebugRangesSectionWriter::updateRangeBuffer(std::unique_ptr<DebugBufferVector> &CUBuffer) {
+  for(auto DebugInfo : *CUBuffer){
+    RangesBuffer->push_back(DebugInfo);
+  }
----------------
aaupov wrote:

nit: formatting

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


More information about the llvm-commits mailing list