[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 28 02:34:24 PDT 2025
DavidSpickett wrote:
Linux CI failure is:
```
2025-07-28T08:45:11.0284286Z sccache /opt/llvm/bin/clang++ -DEXPERIMENTAL_KEY_INSTRUCTIONS -DGTEST_HAS_RTTI=0 -DHAVE_ROUND -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__SHORT_FILE__=\"NativeRegisterContextLinux_arm64dbreg.cpp\" -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/source/Plugins/Process/Linux -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Linux -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/usr/include/python3.12 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/../clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/source -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-vla-extension -O3 -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/lldb/source/Plugins/Process/Linux/CMakeFiles/lldbPluginProcessLinux.dir/NativeRegisterContextLinux_arm64dbreg.cpp.o -MF tools/lldb/source/Plugins/Process/Linux/CMakeFiles/lldbPluginProcessLinux.dir/NativeRegisterContextLinux_arm64dbreg.cpp.o.d -o tools/lldb/source/Plugins/Process/Linux/CMakeFiles/lldbPluginProcessLinux.dir/NativeRegisterContextLinux_arm64dbreg.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64dbreg.cpp
2025-07-28T08:45:11.0299743Z /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64dbreg.cpp:26:29: error: variable has incomplete type 'struct user_hwdebug_state'
2025-07-28T08:45:11.0301314Z 26 | struct user_hwdebug_state dreg_state;
2025-07-28T08:45:11.0301735Z | ^
2025-07-28T08:45:11.0302987Z /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64dbreg.cpp:26:10: note: forward declaration of 'user_hwdebug_state'
2025-07-28T08:45:11.0304281Z 26 | struct user_hwdebug_state dreg_state;
2025-07-28T08:45:11.0304681Z | ^
2025-07-28T08:45:11.0305917Z /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64dbreg.cpp:56:29: error: variable has incomplete type 'struct user_hwdebug_state'
2025-07-28T08:45:11.0307300Z 56 | struct user_hwdebug_state dreg_state;
2025-07-28T08:45:11.0307782Z | ^
2025-07-28T08:45:11.0309023Z /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64dbreg.cpp:56:10: note: forward declaration of 'user_hwdebug_state'
2025-07-28T08:45:11.0310341Z 56 | struct user_hwdebug_state dreg_state;
2025-07-28T08:45:11.0310890Z | ^
2025-07-28T08:45:11.0311164Z 2 errors generated.
```
https://github.com/llvm/llvm-project/pull/147198
More information about the lldb-commits
mailing list