[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 23 16:19:48 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-darwin` running on `doug-worker-3` while building `clang-tools-extra` at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang Tools :: clang-doc/basic-project.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 5 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp && mkdir -p /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
+ rm -rf /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
+ mkdir -p /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
RUN: at line 2: sed 's|$test_dir|/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc|g' /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json > /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ sed 's|$test_dir|/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc|g' /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
RUN: at line 3: clang-doc --format=html --output=/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs --executor=all-TUs /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ clang-doc --format=html --output=/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs --executor=all-TUs /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
[1/3] Processing file /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp
[2/3] Processing file /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
[3/3] Processing file /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
RUN: at line 4: FileCheck /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test -input-file=/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js -check-prefix=JSON-INDEX
+ FileCheck /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test -input-file=/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js -check-prefix=JSON-INDEX
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test:12:21: error: JSON-INDEX-NEXT: expected string not found in input
// JSON-INDEX-NEXT: "USR": "{{([0-9A-F]{40})}}",
                    ^
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js:2:8: note: scanning from here
return{
       ^
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js:3:2: note: possible intended match here
 "Name": "",
 ^

Input file: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
Check file: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1: async function LoadIndex() { 
           2: return{ 
next:12'0            X error: no match found
           3:  "Name": "", 
next:12'0     ~~~~~~~~~~~~~
next:12'1      ?            possible intended match
...

```

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


More information about the cfe-commits mailing list