[Lldb-commits] [lldb] [lldb] Don't create instance of `SymbolFileDWARFDebugMap` for non-Mach-O files (PR #139170)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 5 21:08:11 PDT 2025
royitaqi wrote:
> the correct fix for #142704
How about:
1. In `Triple`'s `getDefaultFormat`, first check if vendor is `llvm::Triple::Apple` and return `MachO` if so. The vendor is set to `Apple` by `ObjectFileMachO::GetAllArchSpecs` calling `base_arch.SetArchitecture`, which calls `m_triple.setVendor(llvm::Triple::Apple)`.
https://github.com/llvm/llvm-project/pull/139170
More information about the lldb-commits
mailing list