[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:11:34 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on `hpce-ve-main` while building `clang` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/12/builds/5605
<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/ve-linux.py ...' (failure)
...
[298/304] Linking CXX executable tools/clang/unittests/Driver/ClangDriverTests
[299/304] Linking CXX executable tools/clang/unittests/CodeGen/ClangCodeGenTests
[300/304] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[301/304] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
[302/304] Linking CXX executable tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
[303/304] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
[303/304] Running the Clang regression tests
-- Testing: 21134 tests, 48 workers --
llvm-lit: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang
Testing:
FAIL: Clang :: AST/HLSL/StructuredBuffer-AST.hlsl (213 of 21134)
******************** TEST 'Clang :: AST/HLSL/StructuredBuffer-AST.hlsl' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck -check-prefix=EMPTY /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck -check-prefix=EMPTY /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
RUN: at line 2: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
/scratch/buildbot/bothome/clang-ve-ninja/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:58: note: scanning from here
| | |-FinalAttr 0x7e7b678 <<invalid sloc>> Implicit final
^
<stdin>:34:1: note: possible intended match here
| | |-FieldDecl 0x7e96548 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *'
^
Input file: <stdin>
Check file: /scratch/buildbot/bothome/clang-ve-ninja/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 0x7e7b678 <<invalid sloc>> Implicit final
next:33'0 X error: no match found
Step 8 (check-llvm) failure: check-llvm (failure)
...
[298/304] Linking CXX executable tools/clang/unittests/Driver/ClangDriverTests
[299/304] Linking CXX executable tools/clang/unittests/CodeGen/ClangCodeGenTests
[300/304] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[301/304] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
[302/304] Linking CXX executable tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
[303/304] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
[303/304] Running the Clang regression tests
-- Testing: 21134 tests, 48 workers --
llvm-lit: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang
Testing:
FAIL: Clang :: AST/HLSL/StructuredBuffer-AST.hlsl (213 of 21134)
******************** TEST 'Clang :: AST/HLSL/StructuredBuffer-AST.hlsl' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck -check-prefix=EMPTY /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck -check-prefix=EMPTY /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
RUN: at line 2: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
/scratch/buildbot/bothome/clang-ve-ninja/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:58: note: scanning from here
| | |-FinalAttr 0x7e7b678 <<invalid sloc>> Implicit final
^
<stdin>:34:1: note: possible intended match here
| | |-FieldDecl 0x7e96548 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *'
^
Input file: <stdin>
Check file: /scratch/buildbot/bothome/clang-ve-ninja/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 0x7e7b678 <<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