[llvm] [BOLT] Fix debug line emission for functions in multiple compilation units (PR #151230)

Grigory Pastukhov via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 3 15:48:14 PDT 2025


================
@@ -852,6 +832,86 @@ class DwarfLineTable {
   // Returns DWARF Version for this line table.
   uint16_t getDwarfVersion() const { return DwarfVersion; }
 };
+
+/// ClusteredRows represents a collection of debug line table row references.
+///
+/// MEMORY LAYOUT AND DESIGN:
----------------
grigorypas wrote:

Tested on a large internal service at Meta. There was no noticeable difference in memory consumption and runtime. 

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


More information about the llvm-commits mailing list