[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:57:04 PDT 2025


jasonmolenda wrote:

FTR I suspect the correct fix for https://github.com/llvm/llvm-project/pull/142704 is

1. This Triple object file setting should be done in ArchSpec::SetArchitecture, so it doesn't depending on hitting an LC_BUILD load command, if anything is going to depend on it.
2. There needs to be a way of setting the Triple's object file to MachO (because it is defaulting to ELF when we start with just "arm64") without adding "-macho" to the triple string.  I don't see a way to do that with the llvm Triple methods today.



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


More information about the lldb-commits mailing list