================
@@ -4211,6 +4211,9 @@ SymbolFileDWARFDebugMap 
*SymbolFileDWARF::GetDebugMapSymfile() {
 
 const std::shared_ptr<SymbolFileDWARFDwo> &SymbolFileDWARF::GetDwpSymbolFile() 
{
   llvm::call_once(m_dwp_symfile_once_flag, [this]() {
+    if (m_objfile_sp->GetArchitecture().GetTriple().isAppleMachO())
----------------
labath wrote:

Yeah, this sounds like very much a dual problem to that, so it would be nice if 
they used the same approach. The thing that makes this fuzzier is that in this 
case you can't really say that SymbolFileDWARF *requires* ObjectFileMachO (or 
any other) because one can imagine a setup where someone knows they will only 
ever need to debug DWARF+ELF and so they want to strip out all of the other 
object file plugins. OTOH, I can also imagine us saying we don't want to 
support that. :P



https://github.com/llvm/llvm-project/pull/139554
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to