[all-commits] [llvm/llvm-project] 7b5133: [lldb-dap] Avoid double 'new' events for dyld on D...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Tue May 20 18:52:22 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7b513393872fe608721ce4014606b03dd780a5c9
https://github.com/llvm/llvm-project/commit/7b513393872fe608721ce4014606b03dd780a5c9
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-05-20 (Tue, 20 May 2025)
Changed paths:
M lldb/tools/lldb-dap/DAP.cpp
Log Message:
-----------
[lldb-dap] Avoid double 'new' events for dyld on Darwin (#140810)
I got a bug report where a pedantic DAP client complains about getting
two "new" module events for the same UUID. This is caused by the dyld
transition from the on-disk dyld to the shared cache dyld, which share
the same UUID. The transition is not generating an unloaded event
(because we're not really unloading dyld) but we do get a loaded event
(because the load address changed). This PR fixes the issue by relying
on the modules set as the source of truth instead of relying on the
event type.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list