[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:33:00 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-x86_64-debian` running on `lldb-x86_64-debian` while building `clang` at step 6 "test".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test) failure: build (failure)
...
PASS: lldb-api :: functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py (164 of 2829)
PASS: lldb-api :: functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneDelayBreakpoint.py (165 of 2829)
PASS: lldb-api :: functionalities/single-thread-step/TestSingleThreadStepTimeout.py (166 of 2829)
PASS: lldb-api :: functionalities/thread/concurrent_events/TestConcurrentManySignals.py (167 of 2829)
PASS: lldb-api :: functionalities/memory-region/TestMemoryRegion.py (168 of 2829)
PASS: lldb-api :: functionalities/plugins/python_os_plugin/stepping_plugin_threads/TestOSPluginStepping.py (169 of 2829)
PASS: lldb-api :: functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferiorStep.py (170 of 2829)
PASS: lldb-api :: functionalities/stop-on-sharedlibrary-load/TestStopOnSharedlibraryEvents.py (171 of 2829)
PASS: lldb-api :: lang/c/function_types/TestFunctionTypes.py (172 of 2829)
PASS: lldb-api :: functionalities/inferior-changed/TestInferiorChanged.py (173 of 2829)
FAIL: lldb-api :: commands/expression/diagnostics/TestExprDiagnostics.py (174 of 2829)
******************** TEST 'lldb-api :: commands/expression/diagnostics/TestExprDiagnostics.py' FAILED ********************
Script:
--
/usr/bin/python3 /home/worker/2.0.1/lldb-x86_64-debian/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/worker/2.0.1/lldb-x86_64-debian/build/./lib --env LLVM_INCLUDE_DIR=/home/worker/2.0.1/lldb-x86_64-debian/build/include --env LLVM_TOOLS_DIR=/home/worker/2.0.1/lldb-x86_64-debian/build/./bin --arch x86_64 --build-dir /home/worker/2.0.1/lldb-x86_64-debian/build/lldb-test-build.noindex --lldb-module-cache-dir /home/worker/2.0.1/lldb-x86_64-debian/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/worker/2.0.1/lldb-x86_64-debian/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/worker/2.0.1/lldb-x86_64-debian/build/./bin/lldb --compiler /home/worker/2.0.1/lldb-x86_64-debian/build/./bin/clang --dsymutil /home/worker/2.0.1/lldb-x86_64-debian/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/worker/2.0.1/lldb-x86_64-debian/build/./bin --lldb-obj-root /home/worker/2.0.1/lldb-x86_64-debian/build/tools/lldb --lldb-libs-dir /home/worker/2.0.1/lldb-x86_64-debian/build/./lib -t /home/worker/2.0.1/lldb-x86_64-debian/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):
--
Change dir to: /home/worker/2.0.1/lldb-x86_64-debian/llvm-project/lldb/test/API/commands/expression/diagnostics
UNSUPPORTED: LLDB (/home/worker/2.0.1/lldb-x86_64-debian/build/bin/clang-x86_64) :: 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) 
runCmd: settings clear -all

output: 

runCmd: settings set symbols.enable-external-lookup false

output: 

runCmd: settings set target.inherit-tcc true

output: 

runCmd: settings set target.disable-aslr false

output: 

runCmd: settings set target.detach-on-error false

output: 

```

</details>

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


More information about the cfe-commits mailing list