diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2025-03-08 11:10:46 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-08 09:10:46 -0800 |
| commit | a1b14dbc4740fe49dfb2af44907a195597474556 (patch) | |
| tree | 06c963a4e14b4f8748ca9ac0e437328ad8684a83 /lldb/test/API/python_api | |
| parent | b15e7f3c23bfffe3b4a0180b5433bf5a876b87ae (diff) | |
| download | llvm-a1b14dbc4740fe49dfb2af44907a195597474556.zip llvm-a1b14dbc4740fe49dfb2af44907a195597474556.tar.gz llvm-a1b14dbc4740fe49dfb2af44907a195597474556.tar.bz2 | |
[lldb] Remove progress report coalescing (#130329)
Remove support for coalescing progress reports in LLDB. This
functionality was motivated by Xcode, which wanted to listen for less
frequent, aggregated progress events at the cost of losing some detail.
See the original RFC [1] for more details. Since then, they've
reevaluated this trade-off and opted to listen for the regular, full
fidelity progress events and do any post processing on their end.
rdar://146425487
Diffstat (limited to 'lldb/test/API/python_api')
| -rw-r--r-- | lldb/test/API/python_api/sbprogress/TestSBProgress.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/API/python_api/sbprogress/TestSBProgress.py b/lldb/test/API/python_api/sbprogress/TestSBProgress.py index 2a0689a..b64c4b9 100644 --- a/lldb/test/API/python_api/sbprogress/TestSBProgress.py +++ b/lldb/test/API/python_api/sbprogress/TestSBProgress.py @@ -43,7 +43,7 @@ class SBProgressTestCase(TestBase): progress = lldb.SBProgress("Test SBProgress", "Test finalize", self.dbg) listener = lldb.SBListener("Test listener") broadcaster = self.dbg.GetBroadcaster() - broadcaster.AddListener(listener, lldb.eBroadcastBitExternalProgressCategory) + broadcaster.AddListener(listener, lldb.eBroadcastBitExternalProgress) event = lldb.SBEvent() progress.Finalize() self.assertTrue(listener.WaitForEvent(5, event)) @@ -57,7 +57,7 @@ class SBProgressTestCase(TestBase): progress = lldb.SBProgress("Test SBProgress", "Test finalize", 13, self.dbg) listener = lldb.SBListener("Test listener") broadcaster = self.dbg.GetBroadcaster() - broadcaster.AddListener(listener, lldb.eBroadcastBitExternalProgressCategory) + broadcaster.AddListener(listener, lldb.eBroadcastBitExternalProgress) event = lldb.SBEvent() progress.Finalize() self.assertTrue(listener.WaitForEvent(5, event)) |
