Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HLSL] Add StructuredBuffer to external sema source #106316

Merged

Conversation

bob80905
Copy link
Contributor

This PR adds StructuredBuffer to HLSLExternalSemaSource.cpp, by copying the logic from RWBuffer but just replacing the name with StructuredBuffer. The change now allows StructuredBuffers to be defined in HLSL, though they function the same as RWBuffers.

Further work to apply the appropriate attributes that distinguish StructuredBuffers from other Buffer types will be deferred.
This improves our position on #106189

@bob80905 bob80905 marked this pull request as ready for review August 28, 2024 00:38
@llvmbot llvmbot added clang Clang issues not falling into any other category clang:frontend Language frontend issues, e.g. anything involving "Sema" HLSL HLSL Language Support labels Aug 28, 2024
@llvmbot
Copy link
Member

llvmbot commented Aug 28, 2024

@llvm/pr-subscribers-clang

@llvm/pr-subscribers-hlsl

Author: Joshua Batista (bob80905)

Changes

This PR adds StructuredBuffer to HLSLExternalSemaSource.cpp, by copying the logic from RWBuffer but just replacing the name with StructuredBuffer. The change now allows StructuredBuffers to be defined in HLSL, though they function the same as RWBuffers.

Further work to apply the appropriate attributes that distinguish StructuredBuffers from other Buffer types will be deferred.
This improves our position on #106189


Full diff: https://github.com/llvm/llvm-project/pull/106316.diff

7 Files Affected:

  • (modified) clang/lib/Sema/HLSLExternalSemaSource.cpp (+10)
  • (added) clang/test/AST/HLSL/StructuredBuffer-AST.hlsl (+64)
  • (added) clang/test/CodeGenHLSL/builtins/StructuredBuffer-annotations.hlsl (+22)
  • (added) clang/test/CodeGenHLSL/builtins/StructuredBuffer-constructor.hlsl (+12)
  • (added) clang/test/CodeGenHLSL/builtins/StructuredBuffer-elementtype.hlsl (+52)
  • (added) clang/test/CodeGenHLSL/builtins/StructuredBuffer-subscript.hlsl (+16)
  • (added) clang/test/SemaHLSL/BuiltIns/StructuredBuffers.hlsl (+19)
diff --git a/clang/lib/Sema/HLSLExternalSemaSource.cpp b/clang/lib/Sema/HLSLExternalSemaSource.cpp
index 9aacbe4ad9548e..24a997e8845240 100644
--- a/clang/lib/Sema/HLSLExternalSemaSource.cpp
+++ b/clang/lib/Sema/HLSLExternalSemaSource.cpp
@@ -522,6 +522,16 @@ void HLSLExternalSemaSource::defineHLSLTypesWithForwardDeclarations() {
         .addArraySubscriptOperators()
         .completeDefinition();
   });
+
+  Decl = BuiltinTypeDeclBuilder(*SemaPtr, HLSLNamespace, "StructuredBuffer")
+             .addSimpleTemplateParams(*SemaPtr, {"element_type"})
+             .Record;
+  onCompletion(Decl, [this](CXXRecordDecl *Decl) {
+    setupBufferType(Decl, *SemaPtr, ResourceClass::UAV,
+                    ResourceKind::TypedBuffer, /*IsROV=*/false)
+        .addArraySubscriptOperators()
+        .completeDefinition();
+  });
 }
 
 void HLSLExternalSemaSource::onCompletion(CXXRecordDecl *Record,
diff --git a/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl b/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
new file mode 100644
index 00000000000000..42991d8dc9c2e3
--- /dev/null
+++ b/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
@@ -0,0 +1,64 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY %s | FileCheck -check-prefix=EMPTY %s
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump %s | FileCheck %s
+
+
+// This test tests two different AST generations. The "EMPTY" test mode verifies
+// the AST generated by forward declaration of the HLSL types which happens on
+// initializing the HLSL external AST with an AST Context.
+
+// The non-empty mode has a use that requires the StructuredBuffer type be complete,
+// which results in the AST being populated by the external AST source. That
+// case covers the full implementation of the template declaration and the
+// instantiated specialization.
+
+// EMPTY: ClassTemplateDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> implicit StructuredBuffer
+// EMPTY-NEXT: TemplateTypeParmDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> class depth 0 index 0 element_type
+// EMPTY-NEXT: CXXRecordDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> implicit <undeserialized declarations> class StructuredBuffer
+// EMPTY-NEXT: FinalAttr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> Implicit final
+
+// There should be no more occurrances of StructuredBuffer
+// EMPTY-NOT: StructuredBuffer
+
+#ifndef EMPTY
+
+StructuredBuffer<float> Buffer;
+
+#endif
+
+// CHECK: ClassTemplateDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> implicit StructuredBuffer
+// CHECK-NEXT: TemplateTypeParmDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> class depth 0 index 0 element_type
+// CHECK-NEXT: CXXRecordDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> implicit class StructuredBuffer definition
+
+// CHECK: FinalAttr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> Implicit final
+// CHECK-NEXT: FieldDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> implicit h 'element_type *'
+// CHECK-NEXT: HLSLResourceClassAttr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> Implicit UAV
+// CHECK-NEXT: HLSLResourceAttr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> Implicit TypedBuffer
+
+// CHECK: CXXMethodDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> operator[] 'element_type &const (unsigned int) const'
+// CHECK-NEXT: ParmVarDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> Idx 'unsigned int'
+// CHECK-NEXT: CompoundStmt 0x{{[0-9A-Fa-f]+}} <<invalid sloc>>
+// CHECK-NEXT: ReturnStmt 0x{{[0-9A-Fa-f]+}} <<invalid sloc>>
+// CHECK-NEXT: ArraySubscriptExpr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> 'element_type' lvalue
+// CHECK-NEXT: MemberExpr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> 'element_type *' lvalue .h 0x{{[0-9A-Fa-f]+}}
+// CHECK-NEXT: CXXThisExpr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> 'const StructuredBuffer<element_type>' lvalue implicit this
+// CHECK-NEXT: DeclRefExpr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> 'unsigned int' ParmVar 0x{{[0-9A-Fa-f]+}} 'Idx' 'unsigned int'
+// CHECK-NEXT: AlwaysInlineAttr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> Implicit always_inline
+
+// CHECK-NEXT: CXXMethodDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> operator[] 'element_type &(unsigned int)'
+// CHECK-NEXT: ParmVarDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> Idx 'unsigned int'
+// CHECK-NEXT: CompoundStmt 0x{{[0-9A-Fa-f]+}} <<invalid sloc>>
+// CHECK-NEXT: ReturnStmt 0x{{[0-9A-Fa-f]+}} <<invalid sloc>>
+// CHECK-NEXT: ArraySubscriptExpr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> 'element_type' lvalue
+// CHECK-NEXT: MemberExpr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> 'element_type *' lvalue .h 0x{{[0-9A-Fa-f]+}}
+// CHECK-NEXT: CXXThisExpr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> 'StructuredBuffer<element_type>' lvalue implicit this
+// CHECK-NEXT: DeclRefExpr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> 'unsigned int' ParmVar 0x{{[0-9A-Fa-f]+}} 'Idx' 'unsigned int'
+// CHECK-NEXT: AlwaysInlineAttr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> Implicit always_inline
+
+// CHECK: ClassTemplateSpecializationDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> class StructuredBuffer definition
+
+// CHECK: TemplateArgument type 'float'
+// CHECK-NEXT: BuiltinType 0x{{[0-9A-Fa-f]+}} 'float'
+// CHECK-NEXT: FinalAttr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> Implicit final
+// CHECK-NEXT: FieldDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> implicit referenced h 'float *'
+// CHECK-NEXT: HLSLResourceClassAttr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> Implicit UAV
+// CHECK-NEXT: HLSLResourceAttr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> Implicit TypedBuffer
diff --git a/clang/test/CodeGenHLSL/builtins/StructuredBuffer-annotations.hlsl b/clang/test/CodeGenHLSL/builtins/StructuredBuffer-annotations.hlsl
new file mode 100644
index 00000000000000..16b7295c985f77
--- /dev/null
+++ b/clang/test/CodeGenHLSL/builtins/StructuredBuffer-annotations.hlsl
@@ -0,0 +1,22 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -emit-llvm -disable-llvm-passes -o - %s | FileCheck %s
+
+StructuredBuffer<float> Buffer1;
+StructuredBuffer<vector<float, 4> > BufferArray[4];
+
+StructuredBuffer<float> Buffer2 : register(u3);
+StructuredBuffer<vector<float, 4> > BufferArray2[4] : register(u4);
+
+StructuredBuffer<float> Buffer3 : register(u3, space1);
+StructuredBuffer<vector<float, 4> > BufferArray3[4] : register(u4, space1);
+
+[numthreads(1,1,1)]
+void main() {
+}
+
+// CHECK: !hlsl.uavs = !{![[Single:[0-9]+]], ![[Array:[0-9]+]], ![[SingleAllocated:[0-9]+]], ![[ArrayAllocated:[0-9]+]], ![[SingleSpace:[0-9]+]], ![[ArraySpace:[0-9]+]]}
+// CHECK-DAG: ![[Single]] = !{ptr @"?Buffer1@@3V?$StructuredBuffer@M@hlsl@@A", i32 10, i32 9, i1 false, i32 -1, i32 0}
+// CHECK-DAG: ![[Array]] = !{ptr @"?BufferArray@@3PAV?$StructuredBuffer@T?$__vector@M$03@__clang@@@hlsl@@A", i32 10, i32 9, i1 false, i32 -1, i32 0}
+// CHECK-DAG: ![[SingleAllocated]] = !{ptr @"?Buffer2@@3V?$StructuredBuffer@M@hlsl@@A", i32 10, i32 9, i1 false, i32 3, i32 0}
+// CHECK-DAG: ![[ArrayAllocated]] = !{ptr @"?BufferArray2@@3PAV?$StructuredBuffer@T?$__vector@M$03@__clang@@@hlsl@@A", i32 10, i32 9, i1 false, i32 4, i32 0}
+// CHECK-DAG: ![[SingleSpace]] = !{ptr @"?Buffer3@@3V?$StructuredBuffer@M@hlsl@@A", i32 10, i32 9, i1 false, i32 3, i32 1}
+// CHECK-DAG: ![[ArraySpace]] = !{ptr @"?BufferArray3@@3PAV?$StructuredBuffer@T?$__vector@M$03@__clang@@@hlsl@@A", i32 10, i32 9, i1 false, i32 4, i32 1}
diff --git a/clang/test/CodeGenHLSL/builtins/StructuredBuffer-constructor.hlsl b/clang/test/CodeGenHLSL/builtins/StructuredBuffer-constructor.hlsl
new file mode 100644
index 00000000000000..34019e5b186931
--- /dev/null
+++ b/clang/test/CodeGenHLSL/builtins/StructuredBuffer-constructor.hlsl
@@ -0,0 +1,12 @@
+// RUN: %clang_cc1 -triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes -o - %s | FileCheck %s --check-prefix=CHECK-SPIRV
+
+StructuredBuffer<float> Buf;
+
+// CHECK: define linkonce_odr noundef ptr @"??0?$StructuredBuffer@M@hlsl@@QAA@XZ"
+// CHECK-NEXT: entry:
+
+// CHECK: %[[HandleRes:[0-9]+]] = call ptr @llvm.dx.create.handle(i8 1)
+// CHECK: store ptr %[[HandleRes]], ptr %h, align 4
+
+// CHECK-SPIRV: %[[HandleRes:[0-9]+]] = call ptr @llvm.spv.create.handle(i8 1)
+// CHECK-SPIRV: store ptr %[[HandleRes]], ptr %h, align 8
diff --git a/clang/test/CodeGenHLSL/builtins/StructuredBuffer-elementtype.hlsl b/clang/test/CodeGenHLSL/builtins/StructuredBuffer-elementtype.hlsl
new file mode 100644
index 00000000000000..8ddf8a6004403e
--- /dev/null
+++ b/clang/test/CodeGenHLSL/builtins/StructuredBuffer-elementtype.hlsl
@@ -0,0 +1,52 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.2-compute -finclude-default-header -fnative-half-type -emit-llvm -o - %s | FileCheck %s
+
+StructuredBuffer<int16_t> BufI16;
+StructuredBuffer<uint16_t> BufU16;
+StructuredBuffer<int> BufI32;
+StructuredBuffer<uint> BufU32;
+StructuredBuffer<int64_t> BufI64;
+StructuredBuffer<uint64_t> BufU64;
+StructuredBuffer<half> BufF16;
+StructuredBuffer<float> BufF32;
+StructuredBuffer<double> BufF64;
+StructuredBuffer< vector<int16_t, 4> > BufI16x4;
+StructuredBuffer< vector<uint, 3> > BufU32x3;
+StructuredBuffer<half2> BufF16x2;
+StructuredBuffer<float3> BufF32x3;
+// TODO: StructuredBuffer<snorm half> BufSNormF16; -> 11
+// TODO: StructuredBuffer<unorm half> BufUNormF16; -> 12
+// TODO: StructuredBuffer<snorm float> BufSNormF32; -> 13
+// TODO: StructuredBuffer<unorm float> BufUNormF32; -> 14
+// TODO: StructuredBuffer<snorm double> BufSNormF64; -> 15
+// TODO: StructuredBuffer<unorm double> BufUNormF64; -> 16
+
+[numthreads(1,1,1)]
+void main(int GI : SV_GroupIndex) {
+  BufI16[GI] = 0;
+  BufU16[GI] = 0;
+  BufI32[GI] = 0;
+  BufU32[GI] = 0;
+  BufI64[GI] = 0;
+  BufU64[GI] = 0;
+  BufF16[GI] = 0;
+  BufF32[GI] = 0;
+  BufF64[GI] = 0;
+  BufI16x4[GI] = 0;
+  BufU32x3[GI] = 0;
+  BufF16x2[GI] = 0;
+  BufF32x3[GI] = 0;
+}
+
+// CHECK: !{{[0-9]+}} = !{ptr @"?BufI16@@3V?$StructuredBuffer@F@hlsl@@A", i32 10, i32 2,
+// CHECK: !{{[0-9]+}} = !{ptr @"?BufU16@@3V?$StructuredBuffer@G@hlsl@@A", i32 10, i32 3,
+// CHECK: !{{[0-9]+}} = !{ptr @"?BufI32@@3V?$StructuredBuffer@H@hlsl@@A", i32 10, i32 4,
+// CHECK: !{{[0-9]+}} = !{ptr @"?BufU32@@3V?$StructuredBuffer@I@hlsl@@A", i32 10, i32 5,
+// CHECK: !{{[0-9]+}} = !{ptr @"?BufI64@@3V?$StructuredBuffer@J@hlsl@@A", i32 10, i32 6,
+// CHECK: !{{[0-9]+}} = !{ptr @"?BufU64@@3V?$StructuredBuffer@K@hlsl@@A", i32 10, i32 7,
+// CHECK: !{{[0-9]+}} = !{ptr @"?BufF16@@3V?$StructuredBuffer@$f16@@hlsl@@A", i32 10, i32 8,
+// CHECK: !{{[0-9]+}} = !{ptr @"?BufF32@@3V?$StructuredBuffer@M@hlsl@@A", i32 10, i32 9,
+// CHECK: !{{[0-9]+}} = !{ptr @"?BufF64@@3V?$StructuredBuffer@N@hlsl@@A", i32 10, i32 10,
+// CHECK: !{{[0-9]+}} = !{ptr @"?BufI16x4@@3V?$StructuredBuffer@T?$__vector@F$03@__clang@@@hlsl@@A", i32 10, i32 2,
+// CHECK: !{{[0-9]+}} = !{ptr @"?BufU32x3@@3V?$StructuredBuffer@T?$__vector@I$02@__clang@@@hlsl@@A", i32 10, i32 5,
+// CHECK: !{{[0-9]+}} = !{ptr @"?BufF16x2@@3V?$StructuredBuffer@T?$__vector@$f16@$01@__clang@@@hlsl@@A", i32 10, i32 8,
+// CHECK: !{{[0-9]+}} = !{ptr @"?BufF32x3@@3V?$StructuredBuffer@T?$__vector@M$02@__clang@@@hlsl@@A", i32 10, i32 9,
diff --git a/clang/test/CodeGenHLSL/builtins/StructuredBuffer-subscript.hlsl b/clang/test/CodeGenHLSL/builtins/StructuredBuffer-subscript.hlsl
new file mode 100644
index 00000000000000..9bd885d94d7e75
--- /dev/null
+++ b/clang/test/CodeGenHLSL/builtins/StructuredBuffer-subscript.hlsl
@@ -0,0 +1,16 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -emit-llvm -o - -O0 %s | FileCheck %s
+
+StructuredBuffer<int> In;
+StructuredBuffer<int> Out;
+
+[numthreads(1,1,1)]
+void main(unsigned GI : SV_GroupIndex) {
+  Out[GI] = In[GI];
+}
+
+// Even at -O0 the subscript operators get inlined. The -O0 IR is a bit messy
+// and confusing to follow so the match here is pretty weak.
+
+// CHECK: define internal void @"?main@@YAXI@Z"
+// CHECK-NOT: call
+// CHECK: ret void
diff --git a/clang/test/SemaHLSL/BuiltIns/StructuredBuffers.hlsl b/clang/test/SemaHLSL/BuiltIns/StructuredBuffers.hlsl
new file mode 100644
index 00000000000000..2450941f5d9b46
--- /dev/null
+++ b/clang/test/SemaHLSL/BuiltIns/StructuredBuffers.hlsl
@@ -0,0 +1,19 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -fsyntax-only -verify %s
+
+typedef vector<float, 3> float3;
+
+StructuredBuffer<float3> Buffer;
+
+// expected-error@+2 {{class template 'StructuredBuffer' requires template arguments}}
+// expected-note@*:* {{template declaration from hidden source: template <class element_type> class StructuredBuffer}}
+StructuredBuffer BufferErr1;
+
+// expected-error@+2 {{too few template arguments for class template 'StructuredBuffer'}}
+// expected-note@*:* {{template declaration from hidden source: template <class element_type> class StructuredBuffer}}
+StructuredBuffer<> BufferErr2;
+
+[numthreads(1,1,1)]
+void main() {
+  (void)Buffer.h; // expected-error {{'h' is a private member of 'hlsl::StructuredBuffer<vector<float, 3> >'}}
+  // expected-note@* {{implicitly declared private here}}
+}

Copy link
Contributor

@damyanp damyanp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had a bunch of questions about the tests, but I see that what's happening here is that the same tests for RWBuffer are being adapter for StructuredBuffer.

I don't know how much everything differs between the two...I'm wondering if there's some way to have a single place where we say "here's the stuff that should work for all buffers" (maybe sliced further based on other properties) so we can be sure that we have a consistent set of tests across them.

Maybe not something to resolve in this PR, but might be worth thinking about (or maybe deliberately rejecting).

@bob80905 bob80905 merged commit b8239e1 into llvm:main Sep 11, 2024
13 checks passed
@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 11, 2024

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

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 :: 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
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 11, 2024

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

Here is the relevant piece of the build log for the reference
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

@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 11, 2024

LLVM Buildbot has detected a new failure on builder arc-builder running on arc-worker while building clang at step 6 "test-build-unified-tree-check-all".

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

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 :: AST/HLSL/StructuredBuffer-AST.hlsl' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /buildbot/worker/arc-folder/build/bin/clang -cc1 -internal-isystem /buildbot/worker/arc-folder/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /buildbot/worker/arc-folder/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /buildbot/worker/arc-folder/build/bin/FileCheck -check-prefix=EMPTY /buildbot/worker/arc-folder/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /buildbot/worker/arc-folder/build/bin/clang -cc1 -internal-isystem /buildbot/worker/arc-folder/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /buildbot/worker/arc-folder/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /buildbot/worker/arc-folder/build/bin/FileCheck -check-prefix=EMPTY /buildbot/worker/arc-folder/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
RUN: at line 2: /buildbot/worker/arc-folder/build/bin/clang -cc1 -internal-isystem /buildbot/worker/arc-folder/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /buildbot/worker/arc-folder/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /buildbot/worker/arc-folder/build/bin/FileCheck /buildbot/worker/arc-folder/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /buildbot/worker/arc-folder/build/bin/FileCheck /buildbot/worker/arc-folder/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /buildbot/worker/arc-folder/build/bin/clang -cc1 -internal-isystem /buildbot/worker/arc-folder/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /buildbot/worker/arc-folder/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
/buildbot/worker/arc-folder/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 0xa8cf858 <<invalid sloc>> Implicit final
                                                         ^
<stdin>:34:1: note: possible intended match here
| | |-FieldDecl 0xa8ea778 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *'
^

Input file: <stdin>
Check file: /buildbot/worker/arc-folder/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 0xa8cf858 <<invalid sloc>> Implicit final 
next:33'0                                                              X error: no match found
          34: | | |-FieldDecl 0xa8ea778 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:33'1     ?                                                                                                                                     possible intended match
          35: | | | `-HLSLResourceAttr 0xa8ea6f0 <<invalid sloc>> Implicit TypedBuffer 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          36: | | |-CXXConstructorDecl 0xa8ea868 <<invalid sloc>> <invalid sloc> StructuredBuffer<element_type> 'void ()' inline 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          37: | | | `-CompoundStmt 0xa8eace8 <<invalid sloc>> 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          38: | | | `-BinaryOperator 0xa8eacc8 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue '=' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          39: | | | |-MemberExpr 0xa8eac50 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue .h 0xa8ea778 
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 11, 2024

LLVM Buildbot has detected a new failure on builder clang-aarch64-quick running on linaro-clang-aarch64-quick while building clang at step 5 "ninja check 1".

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

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'Clang :: AST/HLSL/StructuredBuffer-AST.hlsl' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck -check-prefix=EMPTY /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck -check-prefix=EMPTY /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
RUN: at line 2: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/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 0xaaab12f4d8c8 <<invalid sloc>> Implicit final
                                                              ^
<stdin>:34:6: note: possible intended match here
| | |-FieldDecl 0xaaab12f68f68 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *'
     ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/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 0xaaab12f4d8c8 <<invalid sloc>> Implicit final 
next:33'0                                                                   X error: no match found
          34: | | |-FieldDecl 0xaaab12f68f68 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:33'1          ?                                                                                                                                     possible intended match
          35: | | | `-HLSLResourceAttr 0xaaab12f68ee0 <<invalid sloc>> Implicit TypedBuffer 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          36: | | |-CXXConstructorDecl 0xaaab12f69058 <<invalid sloc>> <invalid sloc> StructuredBuffer<element_type> 'void ()' inline 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          37: | | | `-CompoundStmt 0xaaab12f694d8 <<invalid sloc>> 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          38: | | | `-BinaryOperator 0xaaab12f694b8 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue '=' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          39: | | | |-MemberExpr 0xaaab12f69440 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue .h 0xaaab12f68f68 
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 11, 2024

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-sie-win running on sie-win-worker while building clang at step 7 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: AST/HLSL/StructuredBuffer-AST.hlsl' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -cc1 -internal-isystem Z:\b\llvm-clang-x86_64-sie-win\build\lib\clang\20\include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\AST\HLSL\StructuredBuffer-AST.hlsl | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe -check-prefix=EMPTY Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\AST\HLSL\StructuredBuffer-AST.hlsl
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -cc1 -internal-isystem 'Z:\b\llvm-clang-x86_64-sie-win\build\lib\clang\20\include' -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\AST\HLSL\StructuredBuffer-AST.hlsl'
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' -check-prefix=EMPTY 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\AST\HLSL\StructuredBuffer-AST.hlsl'
# RUN: at line 2
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -cc1 -internal-isystem Z:\b\llvm-clang-x86_64-sie-win\build\lib\clang\20\include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\AST\HLSL\StructuredBuffer-AST.hlsl | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\AST\HLSL\StructuredBuffer-AST.hlsl
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -cc1 -internal-isystem 'Z:\b\llvm-clang-x86_64-sie-win\build\lib\clang\20\include' -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\AST\HLSL\StructuredBuffer-AST.hlsl'
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\AST\HLSL\StructuredBuffer-AST.hlsl'
# .---command stderr------------
# | �[1mZ:\b\llvm-clang-x86_64-sie-win\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:62: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
# | �[0m| | |-FinalAttr 0x1e700412848 <<invalid sloc>> Implicit final
# | �[0;1;32m                                                             ^
# | �[0m�[1m<stdin>:34:5: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
# | �[0m| | |-FieldDecl 0x1e7004223d8 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *'
# | �[0;1;32m    ^
# | �[0m
# | Input file: <stdin>
# | Check file: Z:\b\llvm-clang-x86_64-sie-win\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 0x1e700154310 <<invalid sloc>> <invalid sloc> �[0m
# | �[0;1;30m           2: �[0m�[1m�[0;1;46m|-NamespaceDecl 0x1e700154c38 <<invalid sloc>> <invalid sloc> implicit hlsl �[0m
# | �[0;1;30m           3: �[0m�[1m�[0;1;46m| |-TypeAliasTemplateDecl 0x1e700154fa0 <<invalid sloc>> <invalid sloc> implicit vector �[0m
# | �[0;1;30m           4: �[0m�[1m�[0;1;46m| | |-TemplateTypeParmDecl 0x1e700154cc0 <<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 0x1e700154520 'float' �[0m
# | �[0;1;30m           7: �[0m�[1m�[0;1;46m| | |-NonTypeTemplateParmDecl 0x1e700154dc0 <<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 0x1e700154e20 <<invalid sloc>> 'int' 4 �[0m
# | �[0;1;30m          10: �[0m�[1m�[0;1;46m| | `-TypeAliasDecl 0x1e700154f40 <<invalid sloc>> <invalid sloc> implicit vector 'vector<element, element_count>' �[0m
# | �[0;1;30m          11: �[0m�[1m�[0;1;46m| | `-DependentSizedExtVectorType 0x1e700154ef0 'vector<element, element_count>' dependent <invalid sloc> �[0m
# | �[0;1;30m          12: �[0m�[1m�[0;1;46m| | |-TemplateTypeParmType 0x1e700154d40 'element' dependent depth 0 index 0 �[0m
# | �[0;1;30m          13: �[0m�[1m�[0;1;46m| | | `-TemplateTypeParm 0x1e700154cc0 'element' �[0m
# | �[0;1;30m          14: �[0m�[1m�[0;1;46m| | `-DeclRefExpr 0x1e700154e88 <<invalid sloc>> 'int' lvalue NonTypeTemplateParm 0x1e700154dc0 'element_count' 'int' �[0m
# | �[0;1;30m          15: �[0m�[1m�[0;1;46m| |-ClassTemplateDecl 0x1e700155198 <<invalid sloc>> <invalid sloc> implicit RWBuffer �[0m
# | �[0;1;30m          16: �[0m�[1m�[0;1;46m| | |-TemplateTypeParmDecl 0x1e7001550f8 <<invalid sloc>> <invalid sloc> class depth 0 index 0 element_type �[0m
# | �[0;1;30m          17: �[0m�[1m�[0;1;46m| | `-CXXRecordDecl 0x1e700154ff8 <<invalid sloc>> <invalid sloc> implicit <undeserialized declarations> class RWBuffer �[0m
# | �[0;1;30m          18: �[0m�[1m�[0;1;46m| | `-FinalAttr 0x1e7001550a0 <<invalid sloc>> Implicit final �[0m
# | �[0;1;30m          19: �[0m�[1m�[0;1;46m| |-ClassTemplateDecl 0x1e700412568 <<invalid sloc>> <invalid sloc> implicit RasterizerOrderedBuffer �[0m
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 11, 2024

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-gcc-ubuntu running on sie-linux-worker3 while building clang at step 6 "test-build-unified-tree-check-all".

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

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 :: AST/HLSL/StructuredBuffer-AST.hlsl' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/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-gcc-ubuntu/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck -check-prefix=EMPTY /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck -check-prefix=EMPTY /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/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-gcc-ubuntu/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
RUN: at line 2: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/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 0x559cfdc41e78 <<invalid sloc>> Implicit final
�[0;1;32m                                                              ^
�[0m�[1m<stdin>:34:6: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m| | |-FieldDecl 0x559cfdc5d5e8 <<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-gcc-ubuntu/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 0x559cfdc19b38 <<invalid sloc>> <invalid sloc> �[0m
�[0;1;30m           2: �[0m�[1m�[0;1;46m|-NamespaceDecl 0x559cfdc1a458 <<invalid sloc>> <invalid sloc> implicit hlsl �[0m
�[0;1;30m           3: �[0m�[1m�[0;1;46m| |-TypeAliasTemplateDecl 0x559cfdc1a7b0 <<invalid sloc>> <invalid sloc> implicit vector �[0m
�[0;1;30m           4: �[0m�[1m�[0;1;46m| | |-TemplateTypeParmDecl 0x559cfdc1a4e0 <<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 0x559cfdc19d40 'float' �[0m
�[0;1;30m           7: �[0m�[1m�[0;1;46m| | |-NonTypeTemplateParmDecl 0x559cfdc1a5e0 <<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 0x559cfdc1a638 <<invalid sloc>> 'int' 4 �[0m
�[0;1;30m          10: �[0m�[1m�[0;1;46m| | `-TypeAliasDecl 0x559cfdc1a750 <<invalid sloc>> <invalid sloc> implicit vector 'vector<element, element_count>' �[0m
�[0;1;30m          11: �[0m�[1m�[0;1;46m| | `-DependentSizedExtVectorType 0x559cfdc1a700 'vector<element, element_count>' dependent <invalid sloc> �[0m
�[0;1;30m          12: �[0m�[1m�[0;1;46m| | |-TemplateTypeParmType 0x559cfdc1a560 'element' dependent depth 0 index 0 �[0m
�[0;1;30m          13: �[0m�[1m�[0;1;46m| | | `-TemplateTypeParm 0x559cfdc1a4e0 'element' �[0m
�[0;1;30m          14: �[0m�[1m�[0;1;46m| | `-DeclRefExpr 0x559cfdc1a698 <<invalid sloc>> 'int' lvalue NonTypeTemplateParm 0x559cfdc1a5e0 'element_count' 'int' �[0m
�[0;1;30m          15: �[0m�[1m�[0;1;46m| |-ClassTemplateDecl 0x559cfdc1a9a8 <<invalid sloc>> <invalid sloc> implicit RWBuffer �[0m
�[0;1;30m          16: �[0m�[1m�[0;1;46m| | |-TemplateTypeParmDecl 0x559cfdc1a908 <<invalid sloc>> <invalid sloc> class depth 0 index 0 element_type �[0m
�[0;1;30m          17: �[0m�[1m�[0;1;46m| | `-CXXRecordDecl 0x559cfdc1a808 <<invalid sloc>> <invalid sloc> implicit <undeserialized declarations> class RWBuffer �[0m
�[0;1;30m          18: �[0m�[1m�[0;1;46m| | `-FinalAttr 0x559cfdc1a8b0 <<invalid sloc>> Implicit final �[0m
�[0;1;30m          19: �[0m�[1m�[0;1;46m| |-ClassTemplateDecl 0x559cfdc41b98 <<invalid sloc>> <invalid sloc> implicit RasterizerOrderedBuffer �[0m
�[0;1;30m          20: �[0m�[1m�[0;1;46m| | |-TemplateTypeParmDecl 0x559cfdc41b00 <<invalid sloc>> <invalid sloc> class depth 0 index 0 element_type �[0m
�[0;1;30m          21: �[0m�[1m�[0;1;46m| | `-CXXRecordDecl 0x559cfdc41a00 <<invalid sloc>> <invalid sloc> implicit <undeserialized declarations> class RasterizerOrderedBuffer �[0m
�[0;1;30m          22: �[0m�[1m�[0;1;46m| | `-FinalAttr 0x559cfdc41aa8 <<invalid sloc>> Implicit final �[0m
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 11, 2024

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

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

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 :: AST/HLSL/StructuredBuffer-AST.hlsl' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefix=EMPTY /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefix=EMPTY /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
RUN: at line 2: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
�[1m/Users/buildbot/buildbot-root/aarch64-darwin/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:60: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m| | |-FinalAttr 0x12c059748 <<invalid sloc>> Implicit final
�[0;1;32m                                                           ^
�[0m�[1m<stdin>:34:3: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m| | |-FieldDecl 0x12e808288 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *'
�[0;1;32m  ^
�[0m
Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/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 0x12c034c08 <<invalid sloc>> <invalid sloc> �[0m
�[0;1;30m           2: �[0m�[1m�[0;1;46m|-NamespaceDecl 0x12c035528 <<invalid sloc>> <invalid sloc> implicit hlsl �[0m
�[0;1;30m           3: �[0m�[1m�[0;1;46m| |-TypeAliasTemplateDecl 0x12c035880 <<invalid sloc>> <invalid sloc> implicit vector �[0m
�[0;1;30m           4: �[0m�[1m�[0;1;46m| | |-TemplateTypeParmDecl 0x12c0355b0 <<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 0x12c034e10 'float' �[0m
�[0;1;30m           7: �[0m�[1m�[0;1;46m| | |-NonTypeTemplateParmDecl 0x12c0356b0 <<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 0x12c035708 <<invalid sloc>> 'int' 4 �[0m
�[0;1;30m          10: �[0m�[1m�[0;1;46m| | `-TypeAliasDecl 0x12c035820 <<invalid sloc>> <invalid sloc> implicit vector 'vector<element, element_count>' �[0m
�[0;1;30m          11: �[0m�[1m�[0;1;46m| | `-DependentSizedExtVectorType 0x12c0357d0 'vector<element, element_count>' dependent <invalid sloc> �[0m
�[0;1;30m          12: �[0m�[1m�[0;1;46m| | |-TemplateTypeParmType 0x12c035630 'element' dependent depth 0 index 0 �[0m
�[0;1;30m          13: �[0m�[1m�[0;1;46m| | | `-TemplateTypeParm 0x12c0355b0 'element' �[0m
�[0;1;30m          14: �[0m�[1m�[0;1;46m| | `-DeclRefExpr 0x12c035768 <<invalid sloc>> 'int' lvalue NonTypeTemplateParm 0x12c0356b0 'element_count' 'int' �[0m
�[0;1;30m          15: �[0m�[1m�[0;1;46m| |-ClassTemplateDecl 0x12c035a78 <<invalid sloc>> <invalid sloc> implicit RWBuffer �[0m
�[0;1;30m          16: �[0m�[1m�[0;1;46m| | |-TemplateTypeParmDecl 0x12c0359d8 <<invalid sloc>> <invalid sloc> class depth 0 index 0 element_type �[0m
�[0;1;30m          17: �[0m�[1m�[0;1;46m| | `-CXXRecordDecl 0x12c0358d8 <<invalid sloc>> <invalid sloc> implicit <undeserialized declarations> class RWBuffer �[0m
�[0;1;30m          18: �[0m�[1m�[0;1;46m| | `-FinalAttr 0x12c035980 <<invalid sloc>> Implicit final �[0m
�[0;1;30m          19: �[0m�[1m�[0;1;46m| |-ClassTemplateDecl 0x12c059468 <<invalid sloc>> <invalid sloc> implicit RasterizerOrderedBuffer �[0m
�[0;1;30m          20: �[0m�[1m�[0;1;46m| | |-TemplateTypeParmDecl 0x12c0593d0 <<invalid sloc>> <invalid sloc> class depth 0 index 0 element_type �[0m
�[0;1;30m          21: �[0m�[1m�[0;1;46m| | `-CXXRecordDecl 0x12c0592d0 <<invalid sloc>> <invalid sloc> implicit <undeserialized declarations> class RasterizerOrderedBuffer �[0m
�[0;1;30m          22: �[0m�[1m�[0;1;46m| | `-FinalAttr 0x12c059378 <<invalid sloc>> Implicit final �[0m
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 11, 2024

LLVM Buildbot has detected a new failure on builder clang-armv8-quick running on linaro-clang-armv8-quick while building clang at step 5 "ninja check 1".

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

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'Clang :: AST/HLSL/StructuredBuffer-AST.hlsl' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck -check-prefix=EMPTY /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck -check-prefix=EMPTY /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
RUN: at line 2: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/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 0x91cc310 <<invalid sloc>> Implicit final
                                                         ^
<stdin>:34:1: note: possible intended match here
| | |-FieldDecl 0x91e9208 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *'
^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/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 0x91cc310 <<invalid sloc>> Implicit final 
next:33'0                                                              X error: no match found
          34: | | |-FieldDecl 0x91e9208 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:33'1     ?                                                                                                                                     possible intended match
          35: | | | `-HLSLResourceAttr 0x91e91b0 <<invalid sloc>> Implicit TypedBuffer 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          36: | | |-CXXConstructorDecl 0x91e92b0 <<invalid sloc>> <invalid sloc> StructuredBuffer<element_type> 'void ()' inline 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          37: | | | `-CompoundStmt 0x91e95f0 <<invalid sloc>> 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          38: | | | `-BinaryOperator 0x91e95dc <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue '=' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          39: | | | |-MemberExpr 0x91e9580 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue .h 0x91e9208 
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 11, 2024

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

Here is the relevant piece of the build log for the reference
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

@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 11, 2024

LLVM Buildbot has detected a new failure on builder clang-ppc64le-linux-test-suite running on ppc64le-clang-test-suite while building clang at step 6 "test-build-unified-tree-check-all".

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

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 :: AST/HLSL/StructuredBuffer-AST.hlsl' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck -check-prefix=EMPTY /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck -check-prefix=EMPTY /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
RUN: at line 2: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/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:62: note: scanning from here
| | |-FinalAttr 0x100275eeab8 <<invalid sloc>> Implicit final
                                                             ^
<stdin>:34:5: note: possible intended match here
| | |-FieldDecl 0x1002760a228 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *'
    ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/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 0x100275eeab8 <<invalid sloc>> Implicit final 
next:33'0                                                                  X error: no match found
          34: | | |-FieldDecl 0x1002760a228 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:33'1         ?                                                                                                                                     possible intended match
          35: | | | `-HLSLResourceAttr 0x1002760a1a0 <<invalid sloc>> Implicit TypedBuffer 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          36: | | |-CXXConstructorDecl 0x1002760a318 <<invalid sloc>> <invalid sloc> StructuredBuffer<element_type> 'void ()' inline 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          37: | | | `-CompoundStmt 0x1002760a798 <<invalid sloc>> 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          38: | | | `-BinaryOperator 0x1002760a778 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue '=' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          39: | | | |-MemberExpr 0x1002760a700 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue .h 0x1002760a228 
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 11, 2024

LLVM Buildbot has detected a new failure on builder ppc64le-lld-multistage-test running on ppc64le-lld-multistage-test while building clang at step 7 "test-build-stage1-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 7 (test-build-stage1-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/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck -check-prefix=EMPTY /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck -check-prefix=EMPTY /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
RUN: at line 2: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/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:62: note: scanning from here
| | |-FinalAttr 0x100221ae978 <<invalid sloc>> Implicit final
                                                             ^
<stdin>:34:5: note: possible intended match here
| | |-FieldDecl 0x100221ca018 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *'
    ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/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 0x100221ae978 <<invalid sloc>> Implicit final 
next:33'0                                                                  X error: no match found
          34: | | |-FieldDecl 0x100221ca018 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:33'1         ?                                                                                                                                     possible intended match
          35: | | | `-HLSLResourceAttr 0x100221c9f90 <<invalid sloc>> Implicit TypedBuffer 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          36: | | |-CXXConstructorDecl 0x100221ca108 <<invalid sloc>> <invalid sloc> StructuredBuffer<element_type> 'void ()' inline 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          37: | | | `-CompoundStmt 0x100221ca588 <<invalid sloc>> 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          38: | | | `-BinaryOperator 0x100221ca568 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue '=' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          39: | | | |-MemberExpr 0x100221ca4f0 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue .h 0x100221ca018 
...
Step 13 (test-build-stage2-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/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck -check-prefix=EMPTY /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck -check-prefix=EMPTY /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
RUN: at line 2: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/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:62: note: scanning from here
| | |-FinalAttr 0x100202fb7c8 <<invalid sloc>> Implicit final
                                                             ^
<stdin>:34:5: note: possible intended match here
| | |-FieldDecl 0x10020316e68 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *'
    ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/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 0x100202fb7c8 <<invalid sloc>> Implicit final 
next:33'0                                                                  X error: no match found
          34: | | |-FieldDecl 0x10020316e68 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:33'1         ?                                                                                                                                     possible intended match
          35: | | | `-HLSLResourceAttr 0x10020316de0 <<invalid sloc>> Implicit TypedBuffer 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          36: | | |-CXXConstructorDecl 0x10020316f58 <<invalid sloc>> <invalid sloc> StructuredBuffer<element_type> 'void ()' inline 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          37: | | | `-CompoundStmt 0x100203173d8 <<invalid sloc>> 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          38: | | | `-BinaryOperator 0x100203173b8 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue '=' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          39: | | | |-MemberExpr 0x10020317340 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue .h 0x10020316e68 
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 12, 2024

LLVM Buildbot has detected a new failure on builder premerge-monolithic-linux running on premerge-linux-1 while building clang at step 7 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 7 (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: /build/buildbot/premerge-monolithic-linux/build/bin/clang -cc1 -internal-isystem /build/buildbot/premerge-monolithic-linux/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck -check-prefix=EMPTY /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /build/buildbot/premerge-monolithic-linux/build/bin/clang -cc1 -internal-isystem /build/buildbot/premerge-monolithic-linux/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck -check-prefix=EMPTY /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
RUN: at line 2: /build/buildbot/premerge-monolithic-linux/build/bin/clang -cc1 -internal-isystem /build/buildbot/premerge-monolithic-linux/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /build/buildbot/premerge-monolithic-linux/build/bin/clang -cc1 -internal-isystem /build/buildbot/premerge-monolithic-linux/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
/build/buildbot/premerge-monolithic-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 0x5978041fed38 <<invalid sloc>> Implicit final
                                                              ^
<stdin>:34:6: note: possible intended match here
| | |-FieldDecl 0x59780421a4a8 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *'
     ^

Input file: <stdin>
Check file: /build/buildbot/premerge-monolithic-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 0x5978041fed38 <<invalid sloc>> Implicit final 
next:33'0                                                                   X error: no match found
          34: | | |-FieldDecl 0x59780421a4a8 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:33'1          ?                                                                                                                                     possible intended match
          35: | | | `-HLSLResourceAttr 0x59780421a420 <<invalid sloc>> Implicit TypedBuffer 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          36: | | |-CXXConstructorDecl 0x59780421a598 <<invalid sloc>> <invalid sloc> StructuredBuffer<element_type> 'void ()' inline 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          37: | | | `-CompoundStmt 0x59780421aa18 <<invalid sloc>> 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          38: | | | `-BinaryOperator 0x59780421a9f8 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue '=' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          39: | | | |-MemberExpr 0x59780421a980 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue .h 0x59780421a4a8 
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 12, 2024

LLVM Buildbot has detected a new failure on builder llvm-x86_64-debian-dylib running on gribozavr4 while building clang at step 6 "test-build-unified-tree-check-clang".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-clang) failure: test (failure)
******************** TEST 'Clang :: AST/HLSL/StructuredBuffer-AST.hlsl' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 -internal-isystem /b/1/llvm-x86_64-debian-dylib/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck -check-prefix=EMPTY /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck -check-prefix=EMPTY /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 -internal-isystem /b/1/llvm-x86_64-debian-dylib/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
RUN: at line 2: /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 -internal-isystem /b/1/llvm-x86_64-debian-dylib/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 -internal-isystem /b/1/llvm-x86_64-debian-dylib/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
/b/1/llvm-x86_64-debian-dylib/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:57: note: scanning from here
| | |-FinalAttr 0xf238c8 <<invalid sloc>> Implicit final
                                                        ^
<stdin>:34:1: note: possible intended match here
| | |-FieldDecl 0xf3f038 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *'
^

Input file: <stdin>
Check file: /b/1/llvm-x86_64-debian-dylib/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 0xf238c8 <<invalid sloc>> Implicit final 
next:33'0                                                             X error: no match found
          34: | | |-FieldDecl 0xf3f038 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:33'1     ?                                                                                                                                    possible intended match
          35: | | | `-HLSLResourceAttr 0xf3efb0 <<invalid sloc>> Implicit TypedBuffer 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          36: | | |-CXXConstructorDecl 0xf3f128 <<invalid sloc>> <invalid sloc> StructuredBuffer<element_type> 'void ()' inline 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          37: | | | `-CompoundStmt 0xf3f5a8 <<invalid sloc>> 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          38: | | | `-BinaryOperator 0xf3f588 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue '=' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          39: | | | |-MemberExpr 0xf3f510 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue .h 0xf3f038 
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 12, 2024

LLVM Buildbot has detected a new failure on builder clang-x86_64-debian-fast running on gribozavr4 while building clang at step 6 "test-build-unified-tree-check-all".

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

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 :: AST/HLSL/StructuredBuffer-AST.hlsl' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -cc1 -internal-isystem /b/1/clang-x86_64-debian-fast/llvm.obj/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck -check-prefix=EMPTY /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -cc1 -internal-isystem /b/1/clang-x86_64-debian-fast/llvm.obj/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck -check-prefix=EMPTY /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
RUN: at line 2: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -cc1 -internal-isystem /b/1/clang-x86_64-debian-fast/llvm.obj/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl | /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -cc1 -internal-isystem /b/1/clang-x86_64-debian-fast/llvm.obj/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
/b/1/clang-x86_64-debian-fast/llvm.src/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 0xca4e838 <<invalid sloc>> Implicit final
                                                         ^
<stdin>:34:1: note: possible intended match here
| | |-FieldDecl 0xca69fa8 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *'
^

Input file: <stdin>
Check file: /b/1/clang-x86_64-debian-fast/llvm.src/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 0xca4e838 <<invalid sloc>> Implicit final 
next:33'0                                                              X error: no match found
          34: | | |-FieldDecl 0xca69fa8 <<invalid sloc>> <invalid sloc> implicit h 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:33'1     ?                                                                                                                                     possible intended match
          35: | | | `-HLSLResourceAttr 0xca69f20 <<invalid sloc>> Implicit TypedBuffer 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          36: | | |-CXXConstructorDecl 0xca6a098 <<invalid sloc>> <invalid sloc> StructuredBuffer<element_type> 'void ()' inline 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          37: | | | `-CompoundStmt 0xca6a518 <<invalid sloc>> 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          38: | | | `-BinaryOperator 0xca6a4f8 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue '=' 
next:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          39: | | | |-MemberExpr 0xca6a480 <<invalid sloc>> 'element_type * [[hlsl::resource_class(UAV)]]':'element_type *' lvalue .h 0xca69fa8 
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang:frontend Language frontend issues, e.g. anything involving "Sema" clang Clang issues not falling into any other category HLSL HLSL Language Support
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants