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@lists.llvm.org
Reporter jdevlieghere@apple.com
CC jdevlieghere@apple.com, llvm-bugs@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'