[clang] [Clang] Fix the assertion condition after b8d1f3d6 (PR #132669)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 24 01:57:55 PDT 2025


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/14818

<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/expression/calculator_mode/TestCalculatorMode.py (31 of 2109)
PASS: lldb-api :: commands/expression/anonymous-struct/TestCallUserAnonTypedef.py (32 of 2109)
PASS: lldb-api :: commands/expression/argument_passing_restrictions/TestArgumentPassingRestrictions.py (33 of 2109)
PASS: lldb-api :: commands/expression/bitfield_enums/TestBitfieldEnums.py (34 of 2109)
PASS: lldb-api :: api/listeners/TestListener.py (35 of 2109)
PASS: lldb-api :: commands/expression/call-function/TestCallBuiltinFunction.py (36 of 2109)
UNSUPPORTED: lldb-api :: commands/expression/call-throws/TestCallThatThrows.py (37 of 2109)
PASS: lldb-api :: commands/command/script/TestCommandScript.py (38 of 2109)
PASS: lldb-api :: commands/expression/call-restarts/TestCallThatRestarts.py (39 of 2109)
PASS: lldb-api :: commands/expression/call-function/TestCallStdStringFunction.py (40 of 2109)
FAIL: lldb-api :: commands/expression/call-function/TestCallStopAndContinue.py (41 of 2109)
******************** TEST 'lldb-api :: commands/expression/call-function/TestCallStopAndContinue.py' FAILED ********************
Script:
--
/usr/bin/python3.10 /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --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 --make /usr/bin/gmake --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/commands/expression/call-function -p TestCallStopAndContinue.py
--
Exit Code: -11

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

--
Command Output (stderr):
--
UNSUPPORTED: LLDB (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang-aarch64) :: test_dsym (TestCallStopAndContinue.ExprCommandCallStopContinueTestCase) (test case does not fall in any category of interest for this run) 
PASS: LLDB (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang-aarch64) :: test_dwarf (TestCallStopAndContinue.ExprCommandCallStopContinueTestCase)
PASS: LLDB (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang-aarch64) :: test_dwo (TestCallStopAndContinue.ExprCommandCallStopContinueTestCase)
----------------------------------------------------------------------
Ran 3 tests in 1.016s

OK (skipped=1)

--

********************
PASS: lldb-api :: commands/expression/cast_int_to_anonymous_enum/TestCastIntToAnonymousEnum.py (42 of 2109)
PASS: lldb-api :: commands/expression/call-function/TestCallUserDefinedFunction.py (43 of 2109)
UNSUPPORTED: lldb-api :: commands/expression/completion-crash-invalid-iterator/TestInvalidIteratorCompletionCrash.py (44 of 2109)
PASS: lldb-api :: commands/expression/codegen-crash-import-def-arraytype-element/TestImportDefinitionArrayType.py (45 of 2109)
PASS: lldb-api :: commands/expression/class_template_specialization_empty_pack/TestClassTemplateSpecializationParametersHandling.py (46 of 2109)
PASS: lldb-api :: commands/expression/completion-crash-incomplete-record/TestCompletionCrashIncompleteRecord.py (47 of 2109)
PASS: lldb-api :: commands/expression/codegen-crash-typedefdecl-not-in_declcontext/TestCodegenCrashTypedefDeclNotInDeclContext.py (48 of 2109)
UNSUPPORTED: lldb-api :: commands/expression/context-object-objc/TestContextObjectObjc.py (49 of 2109)
PASS: lldb-api :: commands/expression/completion-in-lambda-and-unnamed-class/TestCompletionInLambdaAndUnnamedClass.py (50 of 2109)
PASS: lldb-api :: commands/expression/char/TestExprsChar.py (51 of 2109)

```

</details>

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


More information about the cfe-commits mailing list