[lldb-dev] [Bug 44659] New: Hardware breakpoints are not marked as such on arm/aarch64

via lldb-dev lldb-dev at lists.llvm.org
Fri Jan 24 20:53:51 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=44659

            Bug ID: 44659
           Summary: Hardware breakpoints are not marked as such on
                    arm/aarch64
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: jdevlieghere at apple.com
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

BreakpointSites know they're backed by hardware based on whether the "hardware
index" is set. This does not appear the to be done for arm/aarch64, which
caused the hardware breakpoints to appear as software breakpoints. 


2: name = 'hw_break_function'
    2.1: 
      module =
/home/buildslave/buildslave/lldb-cmake-aarch64/build/lldb-test-build.noindex/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/TestHWBreakMultiThread.test_hw_break_set_disable_multi_thread_linux/a.out
      compile unit = main.cpp
      function = hw_break_function(unsigned int)
      location =
/home/buildslave/buildslave/lldb-cmake-aarch64/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/main.cpp:21:57
      address = 0x0000000000400d7c
      resolved = true
      hardware = false
      hit count = 2'

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20200125/00b183d9/attachment.html>


More information about the lldb-dev mailing list