[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
Fri Apr 18 00:24: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-aarch64-windows` running on `linaro-armv8-windows-msvc-05` while building `clang` at step 6 "test".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/141/builds/8000
<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/codegen-crash-import-def-arraytype-element/TestImportDefinitionArrayType.py (48 of 2117)
PASS: lldb-api :: commands/expression/codegen-crash-typedefdecl-not-in_declcontext/TestCodegenCrashTypedefDeclNotInDeclContext.py (49 of 2117)
UNSUPPORTED: lldb-api :: commands/expression/completion-crash-invalid-iterator/TestInvalidIteratorCompletionCrash.py (50 of 2117)
PASS: lldb-api :: commands/expression/completion-crash-incomplete-record/TestCompletionCrashIncompleteRecord.py (51 of 2117)
PASS: lldb-api :: commands/expression/completion-in-lambda-and-unnamed-class/TestCompletionInLambdaAndUnnamedClass.py (52 of 2117)
UNSUPPORTED: lldb-api :: commands/expression/context-object-objc/TestContextObjectObjc.py (53 of 2117)
PASS: lldb-api :: commands/expression/completion/TestExprCompletion.py (54 of 2117)
PASS: lldb-api :: commands/expression/context-object/TestContextObject.py (55 of 2117)
PASS: lldb-api :: commands/expression/deleting-implicit-copy-constructor/TestDeletingImplicitCopyConstructor.py (56 of 2117)
PASS: lldb-api :: commands/expression/dollar-in-variable/TestDollarInVariable.py (57 of 2117)
FAIL: lldb-api :: commands/expression/diagnostics/TestExprDiagnostics.py (58 of 2117)
******************** TEST 'lldb-api :: commands/expression/diagnostics/TestExprDiagnostics.py' FAILED ********************
Script:
--
C:/Users/tcwg/scoop/apps/python/current/python.exe C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./lib --env LLVM_INCLUDE_DIR=C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/include --env LLVM_TOOLS_DIR=C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin --arch aarch64 --build-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/lldb-test-build.noindex --lldb-module-cache-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/lldb-test-build.noindex/module-cache-clang\lldb-api --executable C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin/lldb.exe --compiler C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin/clang.exe --dsymutil C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin/dsymutil.exe --make C:/Users/tcwg/scoop/shims/make.exe --llvm-tools-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin --lldb-obj-root C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/tools/lldb --lldb-libs-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./lib --skip-category=watchpoint C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\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: ['watchpoint', 'libc++', 'libstdcxx', 'dwo', 'dsym', 'gmodules', 'debugserver', 'objc', 'fork', 'pexpect']
--
Command Output (stderr):
--
UNSUPPORTED: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_command_expr_sbdata_dsym (TestExprDiagnostics.ExprDiagnosticsTestCase.test_command_expr_sbdata_dsym) (test case does not fall in any category of interest for this run)
PASS: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_command_expr_sbdata_dwarf (TestExprDiagnostics.ExprDiagnosticsTestCase.test_command_expr_sbdata_dwarf)
UNSUPPORTED: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_command_expr_sbdata_dwo (TestExprDiagnostics.ExprDiagnosticsTestCase.test_command_expr_sbdata_dwo) (test case does not fall in any category of interest for this run)
UNSUPPORTED: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_error_type_dsym (TestExprDiagnostics.ExprDiagnosticsTestCase.test_error_type_dsym) (test case does not fall in any category of interest for this run)
PASS: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_error_type_dwarf (TestExprDiagnostics.ExprDiagnosticsTestCase.test_error_type_dwarf)
UNSUPPORTED: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_error_type_dwo (TestExprDiagnostics.ExprDiagnosticsTestCase.test_error_type_dwo) (test case does not fall in any category of interest for this run)
UNSUPPORTED: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_source_and_caret_printing_dsym (TestExprDiagnostics.ExprDiagnosticsTestCase.test_source_and_caret_printing_dsym) (test case does not fall in any category of interest for this run)
FAIL: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_source_and_caret_printing_dwarf (TestExprDiagnostics.ExprDiagnosticsTestCase.test_source_and_caret_printing_dwarf)
UNSUPPORTED: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_source_and_caret_printing_dwo (TestExprDiagnostics.ExprDiagnosticsTestCase.test_source_and_caret_printing_dwo) (test case does not fall in any category of interest for this run)
UNSUPPORTED: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_source_locations_from_objc_modules_dsym (TestExprDiagnostics.ExprDiagnosticsTestCase.test_source_locations_from_objc_modules_dsym) (test case does not fall in any category of interest for this run)
```
</details>
https://github.com/llvm/llvm-project/pull/117671
More information about the cfe-commits
mailing list