[llvm] Handle more cases in DebugInfoFinder (PR #194684)

Vladislav Dzhidzhoev via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 29 07:41:36 PDT 2026


================
@@ -242,6 +242,11 @@ void DebugInfoFinder::processDbgRecord(const Module &M, const DbgRecord &DR) {
   processLocation(M, DR.getDebugLoc().get());
 }
 
+void DebugInfoFinder::processVariable(DIVariable *DV) {
+  if (auto *DLV = dyn_cast_or_null<DIVariable>(DV))
+    processVariable(DLV);
----------------
dzhidzhoev wrote:

Is that a recursive call?

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


More information about the llvm-commits mailing list