llvm-project/lldb
Michał Górny dae7b10034 [lldb] Split out NetBSD/x86 watchpoint impl for unification
Split the current NetBSD watchpoint implementation for x86 into Utility,
and revamp it to improve readability.  This code is meant to be used
as a common class for all x86 watchpoint implementation, particularly
these on FreeBSD and Linux.

The code uses global watchpoint enable bits, as required by the NetBSD
kernel.  If it ever becomes necessary for any platform to use local
enable bits instead, this can be trivially abstracted out.

The code also postpones clearing DR6 until a new different watchpoint
is being set in place of the old one.  This is necessary since LLDB
repeatedly reenables watchpoints on all threads, by clearing
and restoring them.  When DR6 is cleared as a part of that, then pending
events on other threads can no longer be associated with watchpoints
correctly.

Differential Revision: https://reviews.llvm.org/D89874
2020-10-23 12:20:15 +02:00
..
bindings Add an SB API to get the SBTarget from an SBBreakpoint 2020-10-15 14:28:44 -07:00
cmake Fix "Unknown arguments specified" to if in lldb 2020-10-21 07:24:53 -07:00
docs [lldb] Add a page to the docs with (external) links on how to use LLDB 2020-10-20 11:43:31 -07:00
examples [lldb/examples] Add missing declaration in heap.py 2020-09-24 08:44:45 -07:00
include/lldb [lldb] Split out NetBSD/x86 watchpoint impl for unification 2020-10-23 12:20:15 +02:00
packages/Python Revert "[lldb] Explicitly use the configuration architecture when building test executables" 2020-10-22 18:42:19 +02:00
resources
scripts [LLDB] Add QEMU testing environment setup guide for SVE testing 2020-10-06 12:35:08 +05:00
source [lldb] Split out NetBSD/x86 watchpoint impl for unification 2020-10-23 12:20:15 +02:00
test [lldb] Fix a regression introduced by D75730 2020-10-22 08:38:03 -07:00
third_party/Python/module Revert "[lldb] temporary commit to see why a test is failing only on lldb-aarch64-ubuntu" 2020-08-05 11:55:02 +02:00
tools [lldb] Fix windows build for fa5fa63fd1 2020-10-21 17:51:11 +02:00
unittests [lldb/DWARF] Add support for DW_OP_implicit_value 2020-10-22 18:02:44 +02:00
utils [lldb] Hoist -s (trace directory) argument out of LLDB_TEST_COMMON_ARGS (NFC) 2020-09-29 17:23:33 -07:00
.clang-format
.clang-tidy [lldb] Add .clang-tidy with customization to disable readability-identifier-naming 2020-03-09 12:50:28 -07:00
.gitignore
CMakeLists.txt [lldb] Enable cmake policy CMP0077 for option() 2020-10-17 00:16:24 -07:00
CODE_OWNERS.txt [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
LICENSE.TXT
use_lldb_suite_root.py