[Lldb-commits] [lldb] [lldb] Don't create instance of `SymbolFileDWARFDebugMap` for non-Mach-O files (PR #139170)

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 5 19:45:22 PDT 2025


jasonmolenda wrote:

Ultimately I expect
```
  // Don't create a debug map if the object file isn't a Mach-O.
  if (!objfile_sp->GetArchitecture().GetTriple().isAppleMachO())
```

was not succeeding for this binary.  I didn't debug what was special about this binary; the compile command in the shell test is doing `%build %p/Inputs/case-sensitive.c --nodefaultlib -o %t` and looking at the built binary in my checkout, it links against no libraries and has no LC_BUILD load command.  

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


More information about the lldb-commits mailing list