This ensures that the user is aware that many commands will not work
correctly.
We print the warning only once (per module) to avoid spamming the user
with potentially thousands of error messages.
Differential D120892
[lldb] Warn when we fail to find dwo/dwp files labath on Mar 3 2022, 4:27 AM. Authored by
Details
This ensures that the user is aware that many commands will not work We print the warning only once (per module) to avoid spamming the user
Diff Detail
Event TimelineComment Actions LGTM. FWIW I'm planning some changes to the error reporting "soonish". The gist is using error/warning events which Xcode (or VSCode) can subscribe to. I'll send out an RFC with more details as I get closer to working on this. Comment Actions This code can be invoked concurrently (during indexing). Use atomic test-and-set Comment Actions Simpler... maybe.. depends how you look at it. But, synchronization-wise, it is overkill. once_flag ensures that none of the racing threads can make progress until the action terminates. Most of the time, that's exactly what we want, but here the correct operation of the other threads is not affected by this action, so it is sufficient that the warning gets printed "eventually". |