[Lldb-commits] [lldb] Don't search for separate debug files for mach-o object files (PR #81041)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 8 08:22:46 PST 2024


================
@@ -118,7 +118,13 @@ SymbolVendorMacOSX::CreateInstance(const lldb::ModuleSP &module_sp,
     FileSpec dsym_fspec(module_sp->GetSymbolFileFileSpec());
 
     ObjectFileSP dsym_objfile_sp;
-    if (!dsym_fspec) {
+    // On Darwin, we store the debug information either in object files,
+    // using the debug map to tie them to the executable, or in a dSYM.  We
+    // pass through this routine both for binaries and for .o files, but in the
+    // latter case there will never be an external debug file.  So we shouldn't
----------------
adrian-prantl wrote:

Does "external debug file" in this context mean `dwo`?

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


More information about the lldb-commits mailing list