[lldb] [llvm] DEBUGINFOD based DWP acquisition for LLDB (PR #70996)

Alex Langford via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 1 17:01:23 PDT 2023


================
@@ -396,8 +398,22 @@ Symbols::LocateExecutableSymbolFile(const ModuleSpec &module_spec,
       }
     }
   }
-
-  return LocateExecutableSymbolFileDsym(module_spec);
+  FileSpec dsym_bundle = LocateExecutableSymbolFileDsym(module_spec);
+  if (dsym_bundle)
+    return dsym_bundle;
----------------
bulbazord wrote:

```suggestion
  if (FileSpec dsym_bundle = LocateExecutableSymbolFileDsym(module_spec))
    return dsym_bundle;
```

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


More information about the llvm-commits mailing list