Skip to content

Commit f85f7f8

Browse files
Michael137google-yfyang
authored andcommitted
[lldb][SymbolFileDWARF] Don't search for DWP files on macOS (llvm#139554)
1 parent 004a681 commit f85f7f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4209,6 +4209,9 @@ SymbolFileDWARFDebugMap *SymbolFileDWARF::GetDebugMapSymfile() {
42094209

42104210
const std::shared_ptr<SymbolFileDWARFDwo> &SymbolFileDWARF::GetDwpSymbolFile() {
42114211
llvm::call_once(m_dwp_symfile_once_flag, [this]() {
4212+
if (m_objfile_sp->GetArchitecture().GetTriple().isAppleMachO())
4213+
return;
4214+
42124215
// Create a list of files to try and append .dwp to.
42134216
FileSpecList symfiles;
42144217
// Append the module's object file path.

0 commit comments

Comments
 (0)