Skip to content

Commit 4d4966d

Browse files
authored
[lldb][SymbolFileDWARF] Don't search for DWP files on macOS (llvm#139554) (#10765)
(cherry picked from commit f5c6b7b)
1 parent 23680cb commit 4d4966d

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
@@ -4437,6 +4437,9 @@ SymbolFileDWARFDebugMap *SymbolFileDWARF::GetDebugMapSymfile() {
44374437

44384438
const std::shared_ptr<SymbolFileDWARFDwo> &SymbolFileDWARF::GetDwpSymbolFile() {
44394439
llvm::call_once(m_dwp_symfile_once_flag, [this]() {
4440+
if (m_objfile_sp->GetArchitecture().GetTriple().isAppleMachO())
4441+
return;
4442+
44404443
// Create a list of files to try and append .dwp to.
44414444
FileSpecList symfiles;
44424445
// Append the module's object file path.

0 commit comments

Comments
 (0)