[clang] [Clang] Fix handling of qualified id-expressions in unevaluated contexts (PR #99807)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 22 07:14:37 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lldb-aarch64-ubuntu` running on `linaro-lldb-aarch64-ubuntu` while building `clang` at step 6 "test".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/59/builds/1986

Here is the relevant piece of the build log for the reference:
```
Step 6 (test) failure: build (failure)
...
PASS: lldb-unit :: ValueObject/./LLDBValueObjectTests/0/3 (1985 of 1994)
PASS: lldb-unit :: ValueObject/./LLDBValueObjectTests/1/3 (1986 of 1994)
PASS: lldb-unit :: ValueObject/./LLDBValueObjectTests/2/3 (1987 of 1994)
PASS: lldb-unit :: tools/lldb-server/tests/./LLDBServerTests/0/2 (1988 of 1994)
PASS: lldb-unit :: Utility/./UtilityTests/5/8 (1989 of 1994)
PASS: lldb-unit :: tools/lldb-server/tests/./LLDBServerTests/1/2 (1990 of 1994)
PASS: lldb-unit :: Utility/./UtilityTests/6/8 (1991 of 1994)
PASS: lldb-shell :: SymbolFile/target-symbols-add-unwind.test (1992 of 1994)
PASS: lldb-unit :: Process/gdb-remote/./ProcessGdbRemoteTests/8/10 (1993 of 1994)
UNRESOLVED: lldb-api :: tools/lldb-server/TestLldbGdbServer.py (1994 of 1994)
******************** TEST 'lldb-api :: tools/lldb-server/TestLldbGdbServer.py' FAILED ********************
Script:
--
/usr/bin/python3.8 /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env ARCHIVER=/usr/local/bin/llvm-ar --env OBJCOPY=/usr/bin/llvm-objcopy --env LLVM_LIBS_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./lib --env LLVM_INCLUDE_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/include --env LLVM_TOOLS_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin --arch aarch64 --build-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex --lldb-module-cache-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/lldb --compiler /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/clang --dsymutil /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/dsymutil --llvm-tools-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin --lldb-obj-root /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/tools/lldb --lldb-libs-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./lib /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/tools/lldb-server -p TestLldbGdbServer.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 19.0.0git (https://github.com/llvm/llvm-project.git revision 3c459cfcaebdaf7cabac33a0e18bf6588cef4cdb)
  clang revision 3c459cfcaebdaf7cabac33a0e18bf6588cef4cdb
  llvm revision 3c459cfcaebdaf7cabac33a0e18bf6588cef4cdb
Skipping the following test categories: ['libc++', 'dsym', 'gmodules', 'debugserver', 'objc']

--
Command Output (stderr):
--
Program aborted due to an unhandled Error:
Operation not permitted
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server gdbserver --attach=1301674 --reverse-connect [127.0.0.1]:55939
 #0 0x0000aaaad497bfb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xb2bfb0)
 #1 0x0000aaaad4979f2c llvm::sys::RunSignalHandlers() (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xb29f2c)
 #2 0x0000aaaad497c6d0 SignalHandler(int) Signals.cpp:0:0
 #3 0x0000ffffbb9f27dc (linux-vdso.so.1+0x7dc)
 #4 0x0000ffffbb26bd78 raise /build/glibc-Q8DG8B/glibc-2.31/signal/../sysdeps/unix/sysv/linux/raise.c:51:1
 #5 0x0000ffffbb258aac abort /build/glibc-Q8DG8B/glibc-2.31/stdlib/abort.c:81:7
 #6 0x0000aaaad49271e0 llvm::Error::fatalUncheckedError() const (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xad71e0)
 #7 0x0000aaaad49ad8b0 lldb_private::process_linux::NativeProcessLinux::Attach(int) (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xb5d8b0)
 #8 0x0000aaaad49acedc lldb_private::process_linux::NativeProcessLinux::Manager::Attach(unsigned long, lldb_private::NativeProcessProtocol::NativeDelegate&) (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xb5cedc)
 #9 0x0000aaaad4a22df0 lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::AttachToProcess(unsigned long) (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xbd2df0)
#10 0x0000aaaad4908d50 handle_attach(lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xab8d50)
#11 0x0000aaaad490a9d8 main_gdbserver(int, char**) (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xaba9d8)
#12 0x0000aaaad490e79c main (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xabe79c)
#13 0x0000ffffbb258e10 __libc_start_main /build/glibc-Q8DG8B/glibc-2.31/csu/../csu/libc-start.c:342:3
#14 0x0000aaaad4906ff4 _start (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xab6ff4)
lldb-server exiting...
LLVM ERROR: IO failure on output stream: Bad file descriptor

```

https://github.com/llvm/llvm-project/pull/99807


More information about the cfe-commits mailing list