[clang] [llvm] Reland "[DebugMetadata][DwarfDebug] Support function-local types in lexical block scopes (4/7)" (PR #165032)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 12 12:09:56 PST 2025


================
@@ -134,19 +134,29 @@ static void resolveTopLevelMetadata(llvm::Function *Fn,
 
   // Find all llvm.dbg.declare intrinsics and resolve the DILocalVariable nodes
   // they are referencing.
+  //
+  // Some types may be still unresolved. As they can't be cloned, keep
+  // references to the types from the base subprogram.
----------------
dwblaikie wrote:

"some" feels concerningly vague - could you be more specific?

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


More information about the llvm-commits mailing list