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/gdb-remote/CMakeFiles/lldbPluginProcessGDBRemote.dir/GDBRemoteCommunicationClient.cpp.o</summary>
```
FAILED:
tools/lldb/source/Plugins/Process/gdb-remote/CMakeFiles/lldbPluginProcessGDBRemote.dir/GDBRemoteCommunicationClient.cpp.o
sccache /opt/llvm/bin/clang++ -DHAVE_ROUND -D_DEBUG -D_GLIBCXX_ASSERTIONS
-D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
-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/gdb-remote
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/gdb-remote
-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/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/gdb-remote/CMakeFiles/lldbPluginProcessGDBRemote.dir/GDBRemoteCommunicationClient.cpp.o
-MF
tools/lldb/source/Plugins/Process/gdb-remote/CMakeFiles/lldbPluginProcessGDBRemote.dir/GDBRemoteCommunicationClient.cpp.o.d
-o
tools/lldb/source/Plugins/Process/gdb-remote/CMakeFiles/lldbPluginProcessGDBRemote.dir/GDBRemoteCommunicationClient.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp:694:5:
error: 'this' argument to member function 'GetRemoteQSupported' has type
'const lldb_private::process_gdb_remote::GDBRemoteCommunicationClient', but
function is not marked const
694 | GetRemoteQSupported();
| ^~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp:364:36:
note: 'GetRemoteQSupported' declared here
364 | void GDBRemoteCommunicationClient::GetRemoteQSupported() {
| ^
1 error generated.
```
</details>
<details>
<summary>tools/lldb/source/Target/CMakeFiles/lldbTarget.dir/Process.cpp.o</summary>
```
FAILED: tools/lldb/source/Target/CMakeFiles/lldbTarget.dir/Process.cpp.o
sccache /opt/llvm/bin/clang++ -DHAVE_ROUND -D_DEBUG -D_GLIBCXX_ASSERTIONS
-D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
-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/Target
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target
-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/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/Target/CMakeFiles/lldbTarget.dir/Process.cpp.o -MF
tools/lldb/source/Target/CMakeFiles/lldbTarget.dir/Process.cpp.o.d -o
tools/lldb/source/Target/CMakeFiles/lldbTarget.dir/Process.cpp.o -c
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/Process.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/Process.cpp:1825:13:
error: 'this' cannot be implicitly captured in this context
1825 | !ReportsOriginalOpcodes())) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/Process.cpp:1822:35:
note: explicitly capture 'this'
1822 | buf](BreakpointSite *bp_site) -> void {
| ^
| , this
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/Process.cpp:1821:31:
error: no viable conversion from '(lambda at
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/Process.cpp:1821:31)'
to 'const std::function<void (lldb_private::BreakpointSite *)>'
1821 | bp_sites_in_range.ForEach([bp_addr, size,
| ^~~~~~~~~~~~~~~
1822 | buf](BreakpointSite *bp_site) -> void {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1823 | if (bp_site->GetType() == BreakpointSite::eSoftware ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1824 | (bp_site->GetType() == BreakpointSite::eExternal &&
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1825 | !ReportsOriginalOpcodes())) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1826 | addr_t intersect_addr;
| ~~~~~~~~~~~~~~~~~~~~~~
1827 | size_t intersect_size;
| ~~~~~~~~~~~~~~~~~~~~~~
1828 | size_t opcode_offset;
| ~~~~~~~~~~~~~~~~~~~~~
1829 | if (bp_site->IntersectsRange(bp_addr, size, &intersect_addr,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1830 | &intersect_size, &opcode_offset)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1831 | assert(bp_addr <= intersect_addr && intersect_addr < bp_addr +
size);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1832 | assert(bp_addr < intersect_addr + intersect_size &&
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1833 | intersect_addr + intersect_size <= bp_addr + size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1834 | assert(opcode_offset + intersect_size <=
bp_site->GetByteSize());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1835 | size_t buf_offset = intersect_addr - bp_addr;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1836 | ::memcpy(buf + buf_offset,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:375:7:
note: candidate constructor not viable: no known conversion from '(lambda at
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/Process.cpp:1821:31)'
to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument
375 | function(nullptr_t) noexcept
| ^ ~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:386:7:
note: candidate constructor not viable: no known conversion from '(lambda at
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/Process.cpp:1821:31)'
to 'const function<void (lldb_private::BreakpointSite *)> &' for 1st argument
386 | function(const function& __x)
| ^ ~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:404:7:
note: candidate constructor not viable: no known conversion from '(lambda at
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/Process.cpp:1821:31)'
to 'function<void (lldb_private::BreakpointSite *)> &&' for 1st argument
404 | function(function&& __x) noexcept
| ^ ~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:435:2:
note: candidate template ignored: requirement 'std::function<void
(lldb_private::BreakpointSite *)>::_Callable<(lambda at
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/Process.cpp:1821:31),
(lambda at
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/Process.cpp:1821:31),
std::__invoke_result<(lambda at
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/Process.cpp:1821:31)
&, lldb_private::BreakpointSite *>>::value' was not satisfied [with _Functor =
(lambda at
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/Process.cpp:1821:31)]
435 | function(_Functor&& __f)
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/Breakpoint/StopPointSiteList.h:145:60:
note: passing argument to parameter 'callback' here
145 | void ForEach(std::function<void(StopPointSite *)> const &callback) {
| ^
2 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/201176
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits