[clang] [clang] Add source range to 'use of undeclared identifier' diagnostics (PR #117671)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 17 23:48:43 PDT 2025
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/117671 at github.com>
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-arm-ubuntu` running on `linaro-lldb-arm-ubuntu` while building `clang` at step 6 "test".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/18/builds/14695
<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/completion-crash-incomplete-record/TestCompletionCrashIncompleteRecord.py (47 of 2956)
PASS: lldb-api :: commands/expression/codegen-crash-typedefdecl-not-in_declcontext/TestCodegenCrashTypedefDeclNotInDeclContext.py (48 of 2956)
UNSUPPORTED: lldb-api :: commands/expression/completion-crash-invalid-iterator/TestInvalidIteratorCompletionCrash.py (49 of 2956)
PASS: lldb-api :: commands/expression/completion-in-lambda-and-unnamed-class/TestCompletionInLambdaAndUnnamedClass.py (50 of 2956)
UNSUPPORTED: lldb-api :: commands/expression/context-object-objc/TestContextObjectObjc.py (51 of 2956)
PASS: lldb-api :: commands/dwim-print/TestDWIMPrint.py (52 of 2956)
PASS: lldb-api :: commands/expression/completion/TestExprCompletion.py (53 of 2956)
PASS: lldb-api :: commands/expression/deleting-implicit-copy-constructor/TestDeletingImplicitCopyConstructor.py (54 of 2956)
PASS: lldb-api :: commands/expression/context-object/TestContextObject.py (55 of 2956)
PASS: lldb-api :: commands/expression/dollar-in-variable/TestDollarInVariable.py (56 of 2956)
FAIL: lldb-api :: commands/expression/diagnostics/TestExprDiagnostics.py (57 of 2956)
******************** TEST 'lldb-api :: commands/expression/diagnostics/TestExprDiagnostics.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/diagnostics -p TestExprDiagnostics.py
--
Exit Code: 1
Command Output (stdout):
--
lldb version 21.0.0git (https://github.com/llvm/llvm-project.git revision cc7fc9978fc8c9b8e1da2e283026feaf85807ea5)
clang revision cc7fc9978fc8c9b8e1da2e283026feaf85807ea5
llvm revision cc7fc9978fc8c9b8e1da2e283026feaf85807ea5
Skipping the following test categories: ['libc++', 'dsym', 'gmodules', 'debugserver', 'objc']
--
Command Output (stderr):
--
UNSUPPORTED: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_command_expr_sbdata_dsym (TestExprDiagnostics.ExprDiagnosticsTestCase) (test case does not fall in any category of interest for this run)
PASS: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_command_expr_sbdata_dwarf (TestExprDiagnostics.ExprDiagnosticsTestCase)
PASS: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_command_expr_sbdata_dwo (TestExprDiagnostics.ExprDiagnosticsTestCase)
UNSUPPORTED: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_error_type_dsym (TestExprDiagnostics.ExprDiagnosticsTestCase) (test case does not fall in any category of interest for this run)
PASS: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_error_type_dwarf (TestExprDiagnostics.ExprDiagnosticsTestCase)
PASS: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_error_type_dwo (TestExprDiagnostics.ExprDiagnosticsTestCase)
UNSUPPORTED: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_source_and_caret_printing_dsym (TestExprDiagnostics.ExprDiagnosticsTestCase) (test case does not fall in any category of interest for this run)
FAIL: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_source_and_caret_printing_dwarf (TestExprDiagnostics.ExprDiagnosticsTestCase)
FAIL: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_source_and_caret_printing_dwo (TestExprDiagnostics.ExprDiagnosticsTestCase)
UNSUPPORTED: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_source_locations_from_objc_modules_dsym (TestExprDiagnostics.ExprDiagnosticsTestCase) (test case does not fall in any category of interest for this run)
UNSUPPORTED: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_source_locations_from_objc_modules_dwarf (TestExprDiagnostics.ExprDiagnosticsTestCase) (test case does not fall in any category of interest for this run)
UNSUPPORTED: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_source_locations_from_objc_modules_dwo (TestExprDiagnostics.ExprDiagnosticsTestCase) (test case does not fall in any category of interest for this run)
======================================================================
FAIL: test_source_and_caret_printing_dwarf (TestExprDiagnostics.ExprDiagnosticsTestCase)
Test that the source and caret positions LLDB prints are correct
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1804, in test_method
return attrvalue(self)
File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py", line 33, in test_source_and_caret_printing
self.assertIn(
```
</details>
https://github.com/llvm/llvm-project/pull/117671
More information about the cfe-commits
mailing list