[clang] [clang-tools-extra] [clang] Avoid re-evaluating field bitwidth (PR #117732)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 8 06:05:47 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-arm-ubuntu` running on `linaro-lldb-arm-ubuntu` while building `clang-tools-extra,clang` at step 6 "test".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/18/builds/9471
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test) failure: build (failure)
...
PASS: lldb-api :: commands/command/script/import/rdar-12586188/TestRdar12586188.py (25 of 2863)
PASS: lldb-api :: commands/command/script/import/TestImport.py (26 of 2863)
PASS: lldb-api :: commands/command/script_alias/TestCommandScriptAlias.py (27 of 2863)
PASS: lldb-api :: commands/command/source/TestCommandSource.py (28 of 2863)
PASS: lldb-api :: commands/disassemble/basic/TestDisassembleBreakpoint.py (29 of 2863)
PASS: lldb-api :: commands/disassemble/basic/TestFrameDisassemble.py (30 of 2863)
PASS: lldb-api :: commands/command/script/TestCommandScript.py (31 of 2863)
PASS: lldb-api :: commands/expression/anonymous-struct/TestCallUserAnonTypedef.py (32 of 2863)
PASS: lldb-api :: commands/expression/argument_passing_restrictions/TestArgumentPassingRestrictions.py (33 of 2863)
UNRESOLVED: lldb-api :: commands/expression/bitfield_enums/TestBitfieldEnums.py (34 of 2863)
******************** TEST 'lldb-api :: commands/expression/bitfield_enums/TestBitfieldEnums.py' FAILED ********************
Script:
--
/usr/bin/python3.10 /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./lib --env LLVM_INCLUDE_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/include --env LLVM_TOOLS_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin --arch armv8l --build-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex --lldb-module-cache-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/lldb --compiler /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/clang --dsymutil /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin --lldb-obj-root /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/tools/lldb --lldb-libs-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./lib /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/commands/expression/bitfield_enums -p TestBitfieldEnums.py
--
Exit Code: -6
Command Output (stdout):
--
lldb version 20.0.0git (https://github.com/llvm/llvm-project.git revision 81fc3add1e627c23b7270fe2739cdacc09063e54)
clang revision 81fc3add1e627c23b7270fe2739cdacc09063e54
llvm revision 81fc3add1e627c23b7270fe2739cdacc09063e54
--
Command Output (stderr):
--
UNSUPPORTED: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_bitfield_enums_dsym (TestBitfieldEnums.TestBitfieldEnum) (test case does not fall in any category of interest for this run)
python3.10: ../llvm-project/clang/lib/AST/Decl.cpp:4604: unsigned int clang::FieldDecl::getBitWidthValue() const: Assertion `isa<ConstantExpr>(getBitWidth())' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. <eof> parser at end of file
1. <lldb wrapper prefix>:43:1: Generating code for declaration '$__lldb_expr'
#0 0xf162e0dc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) Signals.cpp:0:0
#1 0xf162bb3c llvm::sys::RunSignalHandlers() Signals.cpp:0:0
#2 0xf162e970 SignalHandler(int) Signals.cpp:0:0
#3 0xf7d7d6e0 __default_sa_restorer ./signal/../sysdeps/unix/sysv/linux/arm/sigrestorer.S:67:0
#4 0xf7d6db06 ./csu/../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47:0
#5 0xf7dad292 __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#6 0xf7d7c840 gsignal ./signal/../sysdeps/posix/raise.c:27:6
--
********************
PASS: lldb-api :: commands/expression/calculator_mode/TestCalculatorMode.py (35 of 2863)
PASS: lldb-api :: commands/expression/call-function/TestCallBuiltinFunction.py (36 of 2863)
PASS: lldb-api :: commands/expression/call-function/TestCallStdStringFunction.py (37 of 2863)
PASS: lldb-api :: commands/expression/call-function/TestCallStopAndContinue.py (38 of 2863)
PASS: lldb-api :: commands/expression/call-restarts/TestCallThatRestarts.py (39 of 2863)
PASS: lldb-api :: commands/expression/call-function/TestCallUserDefinedFunction.py (40 of 2863)
```
</details>
https://github.com/llvm/llvm-project/pull/117732
More information about the cfe-commits
mailing list