[Lldb-commits] [lldb] [llvm] [lldb][Process/FreeBSDKernel] Add ppc and ppc64le support (PR #180669)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 10 10:19:38 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
The build failed before running any tests. Click on a failure below to see the details.
<details>
<summary>tools/lldb/source/Plugins/Process/Utility/CMakeFiles/lldbPluginProcessUtility.dir/RegisterInfoPOSIX_powerpc.cpp.o</summary>
```
FAILED: tools/lldb/source/Plugins/Process/Utility/CMakeFiles/lldbPluginProcessUtility.dir/RegisterInfoPOSIX_powerpc.cpp.o
sccache /opt/llvm/bin/clang++ -DHAVE_ROUND -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/source/Plugins/Process/Utility -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility -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 -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 -Wno-pass-failed -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 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/lldb/source/Plugins/Process/Utility/CMakeFiles/lldbPluginProcessUtility.dir/RegisterInfoPOSIX_powerpc.cpp.o -MF tools/lldb/source/Plugins/Process/Utility/CMakeFiles/lldbPluginProcessUtility.dir/RegisterInfoPOSIX_powerpc.cpp.o.d -o tools/lldb/source/Plugins/Process/Utility/CMakeFiles/lldbPluginProcessUtility.dir/RegisterInfoPOSIX_powerpc.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp:20:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:187:8: error: unknown type name 'RegisterInfo'; did you mean 'lldb_private::RegisterInfo'?
187 | static RegisterInfo g_register_infos_powerpc64[] = {
| ^~~~~~~~~~~~
| lldb_private::RegisterInfo
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/lldb-private-types.h:37:8: note: 'lldb_private::RegisterInfo' declared here
37 | struct RegisterInfo {
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp:20:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: use of undeclared identifier 'GPR64'
189 | POWERPC_REGS
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:49:3: note: expanded from macro 'POWERPC_REGS'
49 | DEFINE_GPR(r0, NULL, LLDB_INVALID_REGNUM) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:22:16: note: expanded from macro 'DEFINE_GPR'
22 | #reg, alt, GPR_SIZE(reg), GPR_OFFSET(reg), eEncodingUint, eFormatHex, \
| ^~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:15:37: note: expanded from macro 'GPR_SIZE'
15 | #define GPR_SIZE(regname) (sizeof(((GPR *)NULL)->regname))
| ^~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:188:13: note: expanded from macro 'GPR'
188 | #define GPR GPR64
| ^~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: expected expression
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:49:3: note: expanded from macro 'POWERPC_REGS'
49 | DEFINE_GPR(r0, NULL, LLDB_INVALID_REGNUM) \
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:22:16: note: expanded from macro 'DEFINE_GPR'
22 | #reg, alt, GPR_SIZE(reg), GPR_OFFSET(reg), eEncodingUint, eFormatHex, \
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:15:42: note: expanded from macro 'GPR_SIZE'
15 | #define GPR_SIZE(regname) (sizeof(((GPR *)NULL)->regname))
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: unknown type name 'GPR64'
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:49:3: note: expanded from macro 'POWERPC_REGS'
49 | DEFINE_GPR(r0, NULL, LLDB_INVALID_REGNUM) \
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:22:31: note: expanded from macro 'DEFINE_GPR'
22 | #reg, alt, GPR_SIZE(reg), GPR_OFFSET(reg), eEncodingUint, eFormatHex, \
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:12:39: note: expanded from macro 'GPR_OFFSET'
12 | #define GPR_OFFSET(regname) (offsetof(GPR, regname))
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:188:13: note: expanded from macro 'GPR'
188 | #define GPR GPR64
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: use of undeclared identifier 'eEncodingUint'; did you mean 'lldb::eEncodingUint'?
189 | POWERPC_REGS
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:49:3: note: expanded from macro 'POWERPC_REGS'
49 | DEFINE_GPR(r0, NULL, LLDB_INVALID_REGNUM) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:22:48: note: expanded from macro 'DEFINE_GPR'
22 | #reg, alt, GPR_SIZE(reg), GPR_OFFSET(reg), eEncodingUint, eFormatHex, \
| ^~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/lldb-enumerations.h:154:3: note: 'lldb::eEncodingUint' declared here
154 | eEncodingUint, ///< unsigned integer
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp:20:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: use of undeclared identifier 'eFormatHex'; did you mean 'lldb::eFormatHex'?
189 | POWERPC_REGS
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:49:3: note: expanded from macro 'POWERPC_REGS'
49 | DEFINE_GPR(r0, NULL, LLDB_INVALID_REGNUM) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:22:63: note: expanded from macro 'DEFINE_GPR'
22 | #reg, alt, GPR_SIZE(reg), GPR_OFFSET(reg), eEncodingUint, eFormatHex, \
| ^~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/lldb-enumerations.h:175:3: note: 'lldb::eFormatHex' declared here
175 | eFormatHex,
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp:20:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: use of undeclared identifier 'dwarf_r0_powerpc'
189 | POWERPC_REGS
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:49:3: note: expanded from macro 'POWERPC_REGS'
49 | DEFINE_GPR(r0, NULL, LLDB_INVALID_REGNUM) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:23:43: note: expanded from macro 'DEFINE_GPR'
23 | {dwarf_##reg##_powerpc, \
| ^~~~~~~~~~~~~~~~~~~~~
<scratch space>:6:1: note: expanded from here
6 | dwarf_r0_powerpc
| ^~~~~~~~~~~~~~~~
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp:20:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: use of undeclared identifier 'dwarf_r0_powerpc'
189 | POWERPC_REGS
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:49:3: note: expanded from macro 'POWERPC_REGS'
49 | DEFINE_GPR(r0, NULL, LLDB_INVALID_REGNUM) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:24:43: note: expanded from macro 'DEFINE_GPR'
24 | dwarf_##reg##_powerpc, lldb_kind, \
| ^~~~~~~~~~~~~~~~~~~~~
<scratch space>:8:1: note: expanded from here
8 | dwarf_r0_powerpc
| ^~~~~~~~~~~~~~~~
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp:20:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: use of undeclared identifier 'gpr_r0_powerpc'
189 | POWERPC_REGS
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:49:3: note: expanded from macro 'POWERPC_REGS'
49 | DEFINE_GPR(r0, NULL, LLDB_INVALID_REGNUM) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:26:43: note: expanded from macro 'DEFINE_GPR'
26 | gpr_##reg##_powerpc }, \
| ^~~~~~~~~~~~~~~~~~~
<scratch space>:10:1: note: expanded from here
10 | gpr_r0_powerpc
| ^~~~~~~~~~~~~~
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp:20:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: use of undeclared identifier 'GPR64'
189 | POWERPC_REGS
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:50:5: note: expanded from macro 'POWERPC_REGS'
50 | , DEFINE_GPR(r1, NULL, LLDB_REGNUM_GENERIC_SP), \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:22:16: note: expanded from macro 'DEFINE_GPR'
22 | #reg, alt, GPR_SIZE(reg), GPR_OFFSET(reg), eEncodingUint, eFormatHex, \
| ^~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:15:37: note: expanded from macro 'GPR_SIZE'
15 | #define GPR_SIZE(regname) (sizeof(((GPR *)NULL)->regname))
| ^~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:188:13: note: expanded from macro 'GPR'
188 | #define GPR GPR64
| ^~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: expected expression
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:50:5: note: expanded from macro 'POWERPC_REGS'
50 | , DEFINE_GPR(r1, NULL, LLDB_REGNUM_GENERIC_SP), \
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:22:16: note: expanded from macro 'DEFINE_GPR'
22 | #reg, alt, GPR_SIZE(reg), GPR_OFFSET(reg), eEncodingUint, eFormatHex, \
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:15:42: note: expanded from macro 'GPR_SIZE'
15 | #define GPR_SIZE(regname) (sizeof(((GPR *)NULL)->regname))
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: unknown type name 'GPR64'
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:50:5: note: expanded from macro 'POWERPC_REGS'
50 | , DEFINE_GPR(r1, NULL, LLDB_REGNUM_GENERIC_SP), \
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:22:31: note: expanded from macro 'DEFINE_GPR'
22 | #reg, alt, GPR_SIZE(reg), GPR_OFFSET(reg), eEncodingUint, eFormatHex, \
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:12:39: note: expanded from macro 'GPR_OFFSET'
12 | #define GPR_OFFSET(regname) (offsetof(GPR, regname))
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:188:13: note: expanded from macro 'GPR'
188 | #define GPR GPR64
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: use of undeclared identifier 'eEncodingUint'; did you mean 'lldb::eEncodingUint'?
189 | POWERPC_REGS
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:50:5: note: expanded from macro 'POWERPC_REGS'
50 | , DEFINE_GPR(r1, NULL, LLDB_REGNUM_GENERIC_SP), \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:22:48: note: expanded from macro 'DEFINE_GPR'
22 | #reg, alt, GPR_SIZE(reg), GPR_OFFSET(reg), eEncodingUint, eFormatHex, \
| ^~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/lldb-enumerations.h:154:3: note: 'lldb::eEncodingUint' declared here
154 | eEncodingUint, ///< unsigned integer
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp:20:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: use of undeclared identifier 'eFormatHex'; did you mean 'lldb::eFormatHex'?
189 | POWERPC_REGS
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:50:5: note: expanded from macro 'POWERPC_REGS'
50 | , DEFINE_GPR(r1, NULL, LLDB_REGNUM_GENERIC_SP), \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:22:63: note: expanded from macro 'DEFINE_GPR'
22 | #reg, alt, GPR_SIZE(reg), GPR_OFFSET(reg), eEncodingUint, eFormatHex, \
| ^~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/lldb-enumerations.h:175:3: note: 'lldb::eFormatHex' declared here
175 | eFormatHex,
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp:20:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: use of undeclared identifier 'dwarf_r1_powerpc'
189 | POWERPC_REGS
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:50:5: note: expanded from macro 'POWERPC_REGS'
50 | , DEFINE_GPR(r1, NULL, LLDB_REGNUM_GENERIC_SP), \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:23:43: note: expanded from macro 'DEFINE_GPR'
23 | {dwarf_##reg##_powerpc, \
| ^~~~~~~~~~~~~~~~~~~~~
<scratch space>:13:1: note: expanded from here
13 | dwarf_r1_powerpc
| ^~~~~~~~~~~~~~~~
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp:20:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: use of undeclared identifier 'dwarf_r1_powerpc'
189 | POWERPC_REGS
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:50:5: note: expanded from macro 'POWERPC_REGS'
50 | , DEFINE_GPR(r1, NULL, LLDB_REGNUM_GENERIC_SP), \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:24:43: note: expanded from macro 'DEFINE_GPR'
24 | dwarf_##reg##_powerpc, lldb_kind, \
| ^~~~~~~~~~~~~~~~~~~~~
<scratch space>:15:1: note: expanded from here
15 | dwarf_r1_powerpc
| ^~~~~~~~~~~~~~~~
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp:20:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: use of undeclared identifier 'gpr_r1_powerpc'
189 | POWERPC_REGS
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:50:5: note: expanded from macro 'POWERPC_REGS'
50 | , DEFINE_GPR(r1, NULL, LLDB_REGNUM_GENERIC_SP), \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:26:43: note: expanded from macro 'DEFINE_GPR'
26 | gpr_##reg##_powerpc }, \
| ^~~~~~~~~~~~~~~~~~~
<scratch space>:17:1: note: expanded from here
17 | gpr_r1_powerpc
| ^~~~~~~~~~~~~~
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_powerpc.cpp:20:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: use of undeclared identifier 'GPR64'
189 | POWERPC_REGS
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:51:7: note: expanded from macro 'POWERPC_REGS'
51 | DEFINE_GPR(r2, NULL, LLDB_INVALID_REGNUM), \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:22:16: note: expanded from macro 'DEFINE_GPR'
22 | #reg, alt, GPR_SIZE(reg), GPR_OFFSET(reg), eEncodingUint, eFormatHex, \
| ^~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:15:37: note: expanded from macro 'GPR_SIZE'
15 | #define GPR_SIZE(regname) (sizeof(((GPR *)NULL)->regname))
| ^~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:188:13: note: expanded from macro 'GPR'
188 | #define GPR GPR64
| ^~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:189:5: error: expected expression
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:51:7: note: expanded from macro 'POWERPC_REGS'
51 | DEFINE_GPR(r2, NULL, LLDB_INVALID_REGNUM), \
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:22:16: note: expanded from macro 'DEFINE_GPR'
22 | #reg, alt, GPR_SIZE(reg), GPR_OFFSET(reg), eEncodingUint, eFormatHex, \
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h:15:42: note: expanded from macro 'GPR_SIZE'
15 | #define GPR_SIZE(regname) (sizeof(((GPR *)NULL)->regname))
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/180669
More information about the lldb-commits
mailing list