[clang] [HLSL] Add StructuredBuffer to external sema source (PR #106316)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 11 13:27:31 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux` running on `fuchsia-debian-64-us-central1-a-1` while building `clang` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/4846
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
[1325/1327] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[1326/1327] Running the Clang regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/clang
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find clang-repl in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/wasm-ld
-- Testing: 21260 tests, 60 workers --
Testing:
FAIL: Clang :: AST/HLSL/StructuredBuffer-AST.hlsl (166 of 21260)
******************** TEST 'Clang :: AST/HLSL/StructuredBuffer-AST.hlsl' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/FileCheck -check-prefix=EMPTY /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/FileCheck -check-prefix=EMPTY /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
RUN: at line 2: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl:33:16: error: CHECK-NEXT: expected string not found in input
// CHECK-NEXT: FieldDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> implicit h 'element_type *'
^
<stdin>:33:63: note: scanning from here
| | |-FinalAttr 0x55c162e25668 <<invalid sloc>> Implicit final
^
<stdin>:34:6: note: possible intended match here
| | |-FieldDecl 0x55c162e40dd8 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *'
^
Input file: <stdin>
Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
28: | | | |-CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param
29: | | | |-MoveConstructor exists simple trivial needs_implicit
30: | | | |-CopyAssignment simple trivial has_const_param needs_implicit implicit_has_const_param
31: | | | |-MoveAssignment exists simple trivial needs_implicit
32: | | | `-Destructor simple irrelevant trivial needs_implicit
33: | | |-FinalAttr 0x55c162e25668 <<invalid sloc>> Implicit final
next:33'0 X error: no match found
Step 7 (check) failure: check (failure)
...
[1325/1327] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[1326/1327] Running the Clang regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/clang
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find clang-repl in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/wasm-ld
-- Testing: 21260 tests, 60 workers --
Testing:
FAIL: Clang :: AST/HLSL/StructuredBuffer-AST.hlsl (166 of 21260)
******************** TEST 'Clang :: AST/HLSL/StructuredBuffer-AST.hlsl' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/FileCheck -check-prefix=EMPTY /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/FileCheck -check-prefix=EMPTY /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
RUN: at line 2: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-h8i304u1/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl:33:16: error: CHECK-NEXT: expected string not found in input
// CHECK-NEXT: FieldDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> implicit h 'element_type *'
^
<stdin>:33:63: note: scanning from here
| | |-FinalAttr 0x55c162e25668 <<invalid sloc>> Implicit final
^
<stdin>:34:6: note: possible intended match here
| | |-FieldDecl 0x55c162e40dd8 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *'
^
Input file: <stdin>
Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
28: | | | |-CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param
29: | | | |-MoveConstructor exists simple trivial needs_implicit
30: | | | |-CopyAssignment simple trivial has_const_param needs_implicit implicit_has_const_param
31: | | | |-MoveAssignment exists simple trivial needs_implicit
32: | | | `-Destructor simple irrelevant trivial needs_implicit
33: | | |-FinalAttr 0x55c162e25668 <<invalid sloc>> Implicit final
next:33'0 X error: no match found
```
</details>
https://github.com/llvm/llvm-project/pull/106316
More information about the cfe-commits
mailing list