[llvm] Introduce DwarfUnit::addBlock helper method (PR #168446)

Tom Tromey via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 18 06:22:27 PST 2025


================
@@ -441,6 +441,14 @@ void DwarfUnit::addBlock(DIE &Die, dwarf::Attribute Attribute,
   addBlock(Die, Attribute, Block->BestForm(), Block);
 }
 
+void DwarfUnit::addBlock(DIE &Die, dwarf::Attribute Attribute, DIExpression *Expr) {
----------------
tromey wrote:

I made this change.

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


More information about the llvm-commits mailing list