[Lldb-commits] [lldb] [lldb][AArch64] Fix arm64 hardware breakpoint/watchpoint to arm32 process. (PR #147198)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 21 02:39:34 PDT 2025
================
@@ -0,0 +1,63 @@
+#include "NativeRegisterContextLinuxArm64Shared.h"
+
+using namespace lldb_private::process_linux::arm64;
+
+namespace lldb_private {
+namespace process_linux {
+namespace arm64 {
+
+namespace {
+Status ReadHardwareDebugInfoHelper(int regset, ::pid_t tid,
----------------
DavidSpickett wrote:
llvm style is to use a static function rather than anonymous namespaces. https://llvm.org/docs/CodingStandards.html#restrict-visibility
Though it doesn't actually show an example of doing it, I will fix that. It does say right at the end to use static.
https://github.com/llvm/llvm-project/pull/147198
More information about the lldb-commits
mailing list