petrhosek wrote: We also saw a build failure on our Linux builders: ``` /b/s/w/ir/x/w/rc/cxx-rbew3r8iaxj/reclient-cxx-wrapper.sh /b/s/w/ir/x/w/cipd/clang/bin/clang++ --sysroot=/b/s/w/ir/x/w/cipd/linux -DGTEST_HAS_RTTI=0 -DHAVE_ROUND -DLIBXML_STATIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/s/w/ir/x/w/llvm_build/tools/lldb/source/Plugins/Process/Utility -I/b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility -I/b/s/w/ir/x/w/llvm-llvm-project/lldb/include -I/b/s/w/ir/x/w/llvm_build/tools/lldb/include -I/b/s/w/ir/x/w/llvm_build/include -I/b/s/w/ir/x/w/llvm-llvm-project/llvm/include -I/b/s/w/ir/x/w/install-cpython-x86_64-linux-gnu/include/python3.11 -I/b/s/w/ir/x/w/llvm-llvm-project/llvm/../clang/include -I/b/s/w/ir/x/w/llvm_build/tools/lldb/../clang/include -I/b/s/w/ir/x/w/llvm-llvm-project/lldb/source -I/b/s/w/ir/x/w/llvm_build/tools/lldb/source -isystem /b/s/w/ir/x/w/install-zlib-x86_64-linux-gnu/include -isystem /b/s/w/ir/x/w/install-zstd-x86_64-linux-gnu/include -isystem /b/s/w/ir/x/w/install-libxml2-x86_64-linux-gnu/include/libxml2 -isystem /b/s/w/ir/x/w/install-libedit-x86_64-linux-gnu/include -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 -Wno-unnecessary-virtual-specifier -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -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 -MD -MT tools/lldb/source/Plugins/Process/Utility/CMakeFiles/lldbPluginProcessUtility.dir/LinuxSignals.cpp.o -MF tools/lldb/source/Plugins/Process/Utility/CMakeFiles/lldbPluginProcessUtility.dir/LinuxSignals.cpp.o.d -o tools/lldb/source/Plugins/Process/Utility/CMakeFiles/lldbPluginProcessUtility.dir/LinuxSignals.cpp.o -c /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:73:3: error: use of undeclared identifier 'SI_DETHREAD'; did you mean 'SIGEV_THREAD'? 73 | ADD_LINUX_SIGNAL(1, "SIGHUP", false, true, true, "hangup"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~ /b/s/w/ir/x/w/cipd/linux/usr/include/x86_64-linux-gnu/bits/siginfo.h:340:3: note: 'SIGEV_THREAD' declared here 340 | SIGEV_THREAD, /* Deliver via thread creation. */ | ^ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:73:3: error: static assertion failed due to requirement 'SIGEV_THREAD == -7': Value mismatch for signal code SI_DETHREAD 73 | ADD_LINUX_SIGNAL(1, "SIGHUP", false, true, true, "hangup"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:17: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ^~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:73:3: note: expression evaluates to '2 == -7' 73 | ADD_LINUX_SIGNAL(1, "SIGHUP", false, true, true, "hangup"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:3: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:27: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ~~~~~~~~~~^~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:74:3: error: use of undeclared identifier 'SI_DETHREAD'; did you mean 'SIGEV_THREAD'? 74 | ADD_LINUX_SIGNAL(2, "SIGINT", true, true, true, "interrupt"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~ /b/s/w/ir/x/w/cipd/linux/usr/include/x86_64-linux-gnu/bits/siginfo.h:340:3: note: 'SIGEV_THREAD' declared here 340 | SIGEV_THREAD, /* Deliver via thread creation. */ | ^ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:74:3: error: static assertion failed due to requirement 'SIGEV_THREAD == -7': Value mismatch for signal code SI_DETHREAD 74 | ADD_LINUX_SIGNAL(2, "SIGINT", true, true, true, "interrupt"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:17: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ^~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:74:3: note: expression evaluates to '2 == -7' 74 | ADD_LINUX_SIGNAL(2, "SIGINT", true, true, true, "interrupt"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:3: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:27: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ~~~~~~~~~~^~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:75:3: error: use of undeclared identifier 'SI_DETHREAD'; did you mean 'SIGEV_THREAD'? 75 | ADD_LINUX_SIGNAL(3, "SIGQUIT", false, true, true, "quit"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~ /b/s/w/ir/x/w/cipd/linux/usr/include/x86_64-linux-gnu/bits/siginfo.h:340:3: note: 'SIGEV_THREAD' declared here 340 | SIGEV_THREAD, /* Deliver via thread creation. */ | ^ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:75:3: error: static assertion failed due to requirement 'SIGEV_THREAD == -7': Value mismatch for signal code SI_DETHREAD 75 | ADD_LINUX_SIGNAL(3, "SIGQUIT", false, true, true, "quit"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:17: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ^~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:75:3: note: expression evaluates to '2 == -7' 75 | ADD_LINUX_SIGNAL(3, "SIGQUIT", false, true, true, "quit"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:3: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:27: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ~~~~~~~~~~^~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:77:3: error: use of undeclared identifier 'SI_DETHREAD'; did you mean 'SIGEV_THREAD'? 77 | ADD_LINUX_SIGNAL(4, "SIGILL", false, true, true, "illegal instruction"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~ /b/s/w/ir/x/w/cipd/linux/usr/include/x86_64-linux-gnu/bits/siginfo.h:340:3: note: 'SIGEV_THREAD' declared here 340 | SIGEV_THREAD, /* Deliver via thread creation. */ | ^ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:77:3: error: static assertion failed due to requirement 'SIGEV_THREAD == -7': Value mismatch for signal code SI_DETHREAD 77 | ADD_LINUX_SIGNAL(4, "SIGILL", false, true, true, "illegal instruction"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:17: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ^~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:77:3: note: expression evaluates to '2 == -7' 77 | ADD_LINUX_SIGNAL(4, "SIGILL", false, true, true, "illegal instruction"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:3: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:27: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ~~~~~~~~~~^~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:87:3: error: use of undeclared identifier 'SI_DETHREAD'; did you mean 'SIGEV_THREAD'? 87 | ADD_LINUX_SIGNAL(5, "SIGTRAP", true, true, true, "trace trap (not reset when caught)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~ /b/s/w/ir/x/w/cipd/linux/usr/include/x86_64-linux-gnu/bits/siginfo.h:340:3: note: 'SIGEV_THREAD' declared here 340 | SIGEV_THREAD, /* Deliver via thread creation. */ | ^ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:87:3: error: static assertion failed due to requirement 'SIGEV_THREAD == -7': Value mismatch for signal code SI_DETHREAD 87 | ADD_LINUX_SIGNAL(5, "SIGTRAP", true, true, true, "trace trap (not reset when caught)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:17: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ^~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:87:3: note: expression evaluates to '2 == -7' 87 | ADD_LINUX_SIGNAL(5, "SIGTRAP", true, true, true, "trace trap (not reset when caught)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:3: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:27: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ~~~~~~~~~~^~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:88:3: error: use of undeclared identifier 'SI_DETHREAD'; did you mean 'SIGEV_THREAD'? 88 | ADD_LINUX_SIGNAL(6, "SIGABRT", false, true, true, "abort()/IOT trap", "SIGIOT"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~ /b/s/w/ir/x/w/cipd/linux/usr/include/x86_64-linux-gnu/bits/siginfo.h:340:3: note: 'SIGEV_THREAD' declared here 340 | SIGEV_THREAD, /* Deliver via thread creation. */ | ^ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:88:3: error: static assertion failed due to requirement 'SIGEV_THREAD == -7': Value mismatch for signal code SI_DETHREAD 88 | ADD_LINUX_SIGNAL(6, "SIGABRT", false, true, true, "abort()/IOT trap", "SIGIOT"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:17: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ^~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:88:3: note: expression evaluates to '2 == -7' 88 | ADD_LINUX_SIGNAL(6, "SIGABRT", false, true, true, "abort()/IOT trap", "SIGIOT"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:3: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:27: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ~~~~~~~~~~^~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:90:3: error: use of undeclared identifier 'SI_DETHREAD'; did you mean 'SIGEV_THREAD'? 90 | ADD_LINUX_SIGNAL(7, "SIGBUS", false, true, true, "bus error"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~ /b/s/w/ir/x/w/cipd/linux/usr/include/x86_64-linux-gnu/bits/siginfo.h:340:3: note: 'SIGEV_THREAD' declared here 340 | SIGEV_THREAD, /* Deliver via thread creation. */ | ^ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:90:3: error: static assertion failed due to requirement 'SIGEV_THREAD == -7': Value mismatch for signal code SI_DETHREAD 90 | ADD_LINUX_SIGNAL(7, "SIGBUS", false, true, true, "bus error"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:17: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ^~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:90:3: note: expression evaluates to '2 == -7' 90 | ADD_LINUX_SIGNAL(7, "SIGBUS", false, true, true, "bus error"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:3: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:27: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ~~~~~~~~~~^~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:95:3: error: use of undeclared identifier 'SI_DETHREAD'; did you mean 'SIGEV_THREAD'? 95 | ADD_LINUX_SIGNAL(8, "SIGFPE", false, true, true, "floating point exception"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~ /b/s/w/ir/x/w/cipd/linux/usr/include/x86_64-linux-gnu/bits/siginfo.h:340:3: note: 'SIGEV_THREAD' declared here 340 | SIGEV_THREAD, /* Deliver via thread creation. */ | ^ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:95:3: error: static assertion failed due to requirement 'SIGEV_THREAD == -7': Value mismatch for signal code SI_DETHREAD 95 | ADD_LINUX_SIGNAL(8, "SIGFPE", false, true, true, "floating point exception"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:17: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ^~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:95:3: note: expression evaluates to '2 == -7' 95 | ADD_LINUX_SIGNAL(8, "SIGFPE", false, true, true, "floating point exception"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:3: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:27: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ~~~~~~~~~~^~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:105:3: error: use of undeclared identifier 'SI_DETHREAD'; did you mean 'SIGEV_THREAD'? 105 | ADD_LINUX_SIGNAL(9, "SIGKILL", false, true, true, "kill"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~ /b/s/w/ir/x/w/cipd/linux/usr/include/x86_64-linux-gnu/bits/siginfo.h:340:3: note: 'SIGEV_THREAD' declared here 340 | SIGEV_THREAD, /* Deliver via thread creation. */ | ^ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:105:3: error: static assertion failed due to requirement 'SIGEV_THREAD == -7': Value mismatch for signal code SI_DETHREAD 105 | ADD_LINUX_SIGNAL(9, "SIGKILL", false, true, true, "kill"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:17: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ^~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:105:3: note: expression evaluates to '2 == -7' 105 | ADD_LINUX_SIGNAL(9, "SIGKILL", false, true, true, "kill"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:3: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | "sent by execve() killing subsidiary threads", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | SignalCodePrintOption::Sender); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:34:27: note: expanded from macro 'ADD_SIGCODE' 34 | static_assert(code_name == code_value, \ | ~~~~~~~~~~^~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:106:3: error: use of undeclared identifier 'SI_DETHREAD'; did you mean 'SIGEV_THREAD'? 106 | ADD_LINUX_SIGNAL(10, "SIGUSR1", false, true, true, "user defined signal 1"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:57:29: note: expanded from macro 'ADD_LINUX_SIGNAL' 57 | ADD_SIGCODE(signo, signo, SI_DETHREAD, -7, \ | ^~~~~~~~~~~ /b/s/w/ir/x/w/cipd/linux/usr/include/x86_64-linux-gnu/bits/siginfo.h:340:3: note: 'SIGEV_THREAD' declared here 340 | SIGEV_THREAD, /* Deliver via thread creation. */ | ^ ```
https://github.com/llvm/llvm-project/pull/140150 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits