[all-commits] [llvm/llvm-project] a87b27: [lldb] Fix the hardware breakpoint decorator (#146...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Jul 1 18:01:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a87b27fd5161ec43527fc3356852046a321ea82c
      https://github.com/llvm/llvm-project/commit/a87b27fd5161ec43527fc3356852046a321ea82c
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-07-01 (Tue, 01 Jul 2025)

  Changed paths:
    M lldb/test/API/functionalities/breakpoint/hardware_breakpoints/base.py
    M lldb/test/API/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/TestHWBreakMultiThread.py
    M lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py
    M lldb/test/API/functionalities/breakpoint/hardware_breakpoints/write_memory_with_hw_breakpoint/TestWriteMemoryWithHWBreakpoint.py

  Log Message:
  -----------
  [lldb] Fix the hardware breakpoint decorator (#146609)

A decorator to skip or XFAIL a test takes effect when the function
that's passed in returns a reason string. The wrappers around
hw_breakpoints_supported were doing that incorrectly by inverting
(calling `not`) on the result, turning it into a boolean, which means
the test is always skipped.



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