[all-commits] [llvm/llvm-project] 137ed1: [lldb][progress] Hook up new broadcast bit and pro...

Chelsea Cassanova via All-commits all-commits at lists.llvm.org
Fri Mar 1 10:56:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 137ed17016757a6caea9db70ee6408dc3e2f6232
      https://github.com/llvm/llvm-project/commit/137ed17016757a6caea9db70ee6408dc3e2f6232
  Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

  Changed paths:
    M lldb/include/lldb/Core/Debugger.h
    M lldb/include/lldb/Core/Progress.h
    M lldb/source/Core/Debugger.cpp
    M lldb/source/Core/Progress.cpp
    M lldb/unittests/Core/ProgressReportTest.cpp

  Log Message:
  -----------
  [lldb][progress] Hook up new broadcast bit and progress manager (#83069)

This commit adds the functionality to broadcast events using the
`Debugger::eBroadcastProgressCategory`
bit (https://github.com/llvm/llvm-project/pull/81169) by keeping track
of these reports with the `ProgressManager`
class (https://github.com/llvm/llvm-project/pull/81319). The new bit is
used in such a way that it will only broadcast the initial and final
progress reports for specific progress categories that are managed by
the progress manager.

This commit also adds a new test to the progress report unit test that
checks that only the initial/final reports are broadcasted when using
the new bit.



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