[clang] [clang-tools-extra] [clang][modules] Introduce new `ModuleCache` interface (PR #131193)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 14 12:12:29 PDT 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/12940

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

```
Step 6 (test) failure: build (failure)
...
PASS: lldb-api :: tools/lldb-dap/exception/cpp/TestDAP_exception_cpp.py (1155 of 2920)
UNSUPPORTED: lldb-api :: tools/lldb-dap/extendedStackTrace/TestDAP_extendedStackTrace.py (1156 of 2920)
PASS: lldb-api :: tools/lldb-dap/disconnect/TestDAP_disconnect.py (1157 of 2920)
PASS: lldb-api :: tools/lldb-dap/instruction-breakpoint/TestDAP_instruction_breakpoint.py (1158 of 2920)
PASS: lldb-api :: tools/lldb-dap/io/TestDAP_io.py (1159 of 2920)
PASS: lldb-api :: tools/lldb-dap/locations/TestDAP_locations.py (1160 of 2920)
PASS: lldb-api :: tools/lldb-dap/memory/TestDAP_memory.py (1161 of 2920)
PASS: lldb-api :: tools/lldb-dap/evaluate/TestDAP_evaluate.py (1162 of 2920)
PASS: lldb-api :: tools/lldb-dap/module/TestDAP_module.py (1163 of 2920)
PASS: lldb-api :: tools/lldb-dap/output/TestDAP_output.py (1164 of 2920)
FAIL: lldb-api :: tools/lldb-dap/launch/TestDAP_launch.py (1165 of 2920)
******************** TEST 'lldb-api :: tools/lldb-dap/launch/TestDAP_launch.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/tools/lldb-dap/launch -p TestDAP_launch.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 21.0.0git (https://github.com/llvm/llvm-project.git revision c84d8e8f1c406ab34d56efd4a9f8c5fbce70af2d)
  clang revision c84d8e8f1c406ab34d56efd4a9f8c5fbce70af2d
  llvm revision c84d8e8f1c406ab34d56efd4a9f8c5fbce70af2d
Skipping the following test categories: ['libc++', 'dsym', 'gmodules', 'debugserver', 'objc']
========= DEBUG ADAPTER PROTOCOL LOGS =========
1741979330.845331192 <-- (stdin/stdout) {"command":"initialize","type":"request","arguments":{"adapterID":"lldb-native","clientID":"vscode","columnsStartAt1":true,"linesStartAt1":true,"locale":"en-us","pathFormat":"path","supportsRunInTerminalRequest":true,"supportsVariablePaging":true,"supportsVariableType":true,"supportsStartDebuggingRequest":true,"sourceInitFile":false},"seq":1}
1741979330.847774267 --> (stdin/stdout) {"body":{"__lldb":{"version":"lldb version 21.0.0git (https://github.com/llvm/llvm-project.git revision c84d8e8f1c406ab34d56efd4a9f8c5fbce70af2d)\n  clang revision c84d8e8f1c406ab34d56efd4a9f8c5fbce70af2d\n  llvm revision c84d8e8f1c406ab34d56efd4a9f8c5fbce70af2d"},"completionTriggerCharacters":["."," ","\t"],"exceptionBreakpointFilters":[{"default":false,"filter":"cpp_catch","label":"C++ Catch"},{"default":false,"filter":"cpp_throw","label":"C++ Throw"},{"default":false,"filter":"objc_catch","label":"Objective-C Catch"},{"default":false,"filter":"objc_throw","label":"Objective-C Throw"}],"supportTerminateDebuggee":true,"supportsBreakpointLocationsRequest":true,"supportsCompletionsRequest":true,"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":true,"supportsDataBreakpoints":true,"supportsDelayedStackTraceLoading":true,"supportsDisassembleRequest":true,"supportsEvaluateForHovers":true,"supportsExceptionInfoRequest":true,"supportsExceptionOptions":true,"supportsFunctionBreakpoints":true,"supportsGotoTargetsRequest":false,"supportsHitConditionalBreakpoints":true,"supportsInstructionBreakpoints":true,"supportsLoadedSourcesRequest":false,"supportsLogPoints":true,"supportsModulesRequest":true,"supportsProgressReporting":true,"supportsReadMemoryRequest":true,"supportsRestartFrame":false,"supportsRestartRequest":true,"supportsRunInTerminalRequest":true,"supportsSetVariable":true,"supportsStepBack":false,"supportsStepInTargetsRequest":true,"supportsSteppingGranularity":true,"supportsValueFormattingOptions":true},"command":"initialize","request_seq":1,"seq":0,"success":true,"type":"response"}
1741979330.848397970 <-- (stdin/stdout) {"command":"launch","type":"request","arguments":{"program":"/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/tools/lldb-dap/launch/TestDAP_launch.test_args/a.out","args":["one","with space","'with single quotes'","\"with double quotes\""],"initCommands":["settings clear -all","settings set symbols.enable-external-lookup false","settings set target.inherit-tcc true","settings set target.disable-aslr false","settings set target.detach-on-error false","settings set target.auto-apply-fixits false","settings set plugin.process.gdb-remote.packet-timeout 60","settings set symbols.clang-modules-cache-path \"/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/module-cache-lldb/lldb-api\"","settings set use-color false"],"disableASLR":false,"enableAutoVariableSummaries":false,"enableSyntheticChildDebugging":false,"displayExtendedBacktrace":false,"commandEscapePrefix":null},"seq":2}
1741979330.848656893 --> (stdin/stdout) {"body":{"category":"console","output":"Running initCommands:\n"},"event":"output","seq":0,"type":"event"}
1741979330.848685503 --> (stdin/stdout) {"body":{"category":"console","output":"(lldb) settings clear -all\n"},"event":"output","seq":0,"type":"event"}
1741979330.848697901 --> (stdin/stdout) {"body":{"category":"console","output":"(lldb) settings set symbols.enable-external-lookup false\n"},"event":"output","seq":0,"type":"event"}
1741979330.848708868 --> (stdin/stdout) {"body":{"category":"console","output":"(lldb) settings set target.inherit-tcc true\n"},"event":"output","seq":0,"type":"event"}
1741979330.848719835 --> (stdin/stdout) {"body":{"category":"console","output":"(lldb) settings set target.disable-aslr false\n"},"event":"output","seq":0,"type":"event"}
1741979330.848730326 --> (stdin/stdout) {"body":{"category":"console","output":"(lldb) settings set target.detach-on-error false\n"},"event":"output","seq":0,"type":"event"}
1741979330.848740816 --> (stdin/stdout) {"body":{"category":"console","output":"(lldb) settings set target.auto-apply-fixits false\n"},"event":"output","seq":0,"type":"event"}
1741979330.848771095 --> (stdin/stdout) {"body":{"category":"console","output":"(lldb) settings set plugin.process.gdb-remote.packet-timeout 60\n"},"event":"output","seq":0,"type":"event"}
1741979330.848783016 --> (stdin/stdout) {"body":{"category":"console","output":"(lldb) settings set symbols.clang-modules-cache-path \"/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/module-cache-lldb/lldb-api\"\n"},"event":"output","seq":0,"type":"event"}
1741979330.848793745 --> (stdin/stdout) {"body":{"category":"console","output":"(lldb) settings set use-color false\n"},"event":"output","seq":0,"type":"event"}
1741979330.986446381 --> (stdin/stdout) {"command":"launch","request_seq":2,"seq":0,"success":true,"type":"response"}
1741979330.986526012 --> (stdin/stdout) {"body":{"isLocalProcess":true,"name":"/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/tools/lldb-dap/launch/TestDAP_launch.test_args/a.out","startMethod":"launch","systemProcessId":1332613},"event":"process","seq":0,"type":"event"}
1741979330.986540556 --> (stdin/stdout) {"event":"initialized","seq":0,"type":"event"}
1741979330.986936808 <-- (stdin/stdout) {"command":"configurationDone","type":"request","arguments":{},"seq":3}
1741979330.986959457 --> (stdin/stdout) {"command":"configurationDone","request_seq":3,"seq":0,"success":true,"type":"response"}
1741979331.054115772 --> (stdin/stdout) {"body":{"category":"stdout","output":"arg[0] = \"/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/tools/lldb-dap/launch/TestDAP_launch.test_args/a.out\"\r\n"},"event":"output","seq":0,"type":"event"}
1741979331.054280519 --> (stdin/stdout) {"body":{"category":"stdout","output":"arg[1] = \"one\"\r\n"},"event":"output","seq":0,"type":"event"}
1741979331.054318428 --> (stdin/stdout) {"body":{"category":"stdout","output":"arg[2] = \"with space\"\r\n"},"event":"output","seq":0,"type":"event"}
1741979331.054350853 --> (stdin/stdout) {"body":{"category":"stdout","output":"arg[3] = \"'with single quotes'\"\r\n"},"event":"output","seq":0,"type":"event"}
1741979331.054382801 --> (stdin/stdout) {"body":{"category":"stdout","output":"arg[4] = \"\"with double quotes\"\"\r\n"},"event":"output","seq":0,"type":"event"}
1741979331.054415703 --> (stdin/stdout) {"body":{"category":"stdout","output":"env[0] = \"LLDB_LIB_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/local/lib/python3.10/dist-packages/../..\"\r\n"},"event":"output","seq":0,"type":"event"}

```

</details>

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


More information about the cfe-commits mailing list