[llvm] [BOLT] Fix debug line emission for functions in multiple compilation units (PR #151230)
Alexander Yermolovich via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 4 11:09:27 PDT 2025
================
@@ -423,8 +423,8 @@ class BinaryFunction {
/// Original LSDA type encoding
unsigned LSDATypeEncoding{dwarf::DW_EH_PE_omit};
- /// Containing compilation unit for the function.
- DWARFUnit *DwarfUnit{nullptr};
+ /// All compilation units this function belongs to.
+ SmallVector<DWARFUnit *, 1> DwarfUnitVec;
----------------
ayermolo wrote:
DenseSet, if they don't need to be ordered?
https://github.com/llvm/llvm-project/pull/151230
More information about the llvm-commits
mailing list