[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:09:24 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/6775
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: AST/HLSL/StructuredBuffer-AST.hlsl' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck -check-prefix=EMPTY /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck -check-prefix=EMPTY /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
RUN: at line 2: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl:33:16: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m// CHECK-NEXT: FieldDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> implicit h 'element_type *'
[0;1;32m ^
[0m[1m<stdin>:33:63: [0m[0;1;30mnote: [0m[1mscanning from here
[0m| | |-FinalAttr 0x5c786e4fc708 <<invalid sloc>> Implicit final
[0;1;32m ^
[0m[1m<stdin>:34:6: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m| | |-FieldDecl 0x5c786e517e78 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *'
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46mTranslationUnitDecl 0x5c786e4d45c8 <<invalid sloc>> <invalid sloc> [0m
[0;1;30m 2: [0m[1m[0;1;46m|-NamespaceDecl 0x5c786e4d4ee8 <<invalid sloc>> <invalid sloc> implicit hlsl [0m
[0;1;30m 3: [0m[1m[0;1;46m| |-TypeAliasTemplateDecl 0x5c786e4d5240 <<invalid sloc>> <invalid sloc> implicit vector [0m
[0;1;30m 4: [0m[1m[0;1;46m| | |-TemplateTypeParmDecl 0x5c786e4d4f70 <<invalid sloc>> <invalid sloc> class depth 0 index 0 element [0m
[0;1;30m 5: [0m[1m[0;1;46m| | | `-TemplateArgument type 'float' [0m
[0;1;30m 6: [0m[1m[0;1;46m| | | `-BuiltinType 0x5c786e4d47d0 'float' [0m
[0;1;30m 7: [0m[1m[0;1;46m| | |-NonTypeTemplateParmDecl 0x5c786e4d5070 <<invalid sloc>> <invalid sloc> 'int' depth 0 index 1 element_count [0m
[0;1;30m 8: [0m[1m[0;1;46m| | | `-TemplateArgument expr '4' [0m
[0;1;30m 9: [0m[1m[0;1;46m| | | `-IntegerLiteral 0x5c786e4d50c8 <<invalid sloc>> 'int' 4 [0m
[0;1;30m 10: [0m[1m[0;1;46m| | `-TypeAliasDecl 0x5c786e4d51e0 <<invalid sloc>> <invalid sloc> implicit vector 'vector<element, element_count>' [0m
[0;1;30m 11: [0m[1m[0;1;46m| | `-DependentSizedExtVectorType 0x5c786e4d5190 'vector<element, element_count>' dependent <invalid sloc> [0m
[0;1;30m 12: [0m[1m[0;1;46m| | |-TemplateTypeParmType 0x5c786e4d4ff0 'element' dependent depth 0 index 0 [0m
[0;1;30m 13: [0m[1m[0;1;46m| | | `-TemplateTypeParm 0x5c786e4d4f70 'element' [0m
[0;1;30m 14: [0m[1m[0;1;46m| | `-DeclRefExpr 0x5c786e4d5128 <<invalid sloc>> 'int' lvalue NonTypeTemplateParm 0x5c786e4d5070 'element_count' 'int' [0m
[0;1;30m 15: [0m[1m[0;1;46m| |-ClassTemplateDecl 0x5c786e4d5438 <<invalid sloc>> <invalid sloc> implicit RWBuffer [0m
[0;1;30m 16: [0m[1m[0;1;46m| | |-TemplateTypeParmDecl 0x5c786e4d5398 <<invalid sloc>> <invalid sloc> class depth 0 index 0 element_type [0m
[0;1;30m 17: [0m[1m[0;1;46m| | `-CXXRecordDecl 0x5c786e4d5298 <<invalid sloc>> <invalid sloc> implicit <undeserialized declarations> class RWBuffer [0m
[0;1;30m 18: [0m[1m[0;1;46m| | `-FinalAttr 0x5c786e4d5340 <<invalid sloc>> Implicit final [0m
[0;1;30m 19: [0m[1m[0;1;46m| |-ClassTemplateDecl 0x5c786e4fc428 <<invalid sloc>> <invalid sloc> implicit RasterizerOrderedBuffer [0m
[0;1;30m 20: [0m[1m[0;1;46m| | |-TemplateTypeParmDecl 0x5c786e4fc390 <<invalid sloc>> <invalid sloc> class depth 0 index 0 element_type [0m
[0;1;30m 21: [0m[1m[0;1;46m| | `-CXXRecordDecl 0x5c786e4fc290 <<invalid sloc>> <invalid sloc> implicit <undeserialized declarations> class RasterizerOrderedBuffer [0m
[0;1;30m 22: [0m[1m[0;1;46m| | `-FinalAttr 0x5c786e4fc338 <<invalid sloc>> Implicit final [0m
...
```
</details>
https://github.com/llvm/llvm-project/pull/106316
More information about the cfe-commits
mailing list