github-actions[bot] wrote: <!--PREMERGE ADVISOR COMMENT: Linux--> # :penguin: Linux x64 Test Results
* 85915 tests passed * 1224 tests skipped * 4 tests failed ## Failed Tests (click on a test name to see its output) ### Clang <details> <summary>Clang.AST/HLSL/ByteAddressBuffers-AST.hlsl</summary> ``` Exit Code: 2 Command Output (stdout): -- # RUN: at line 1 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY -DRESOURCE=ByteAddressBuffer /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -DRESOURCE=ByteAddressBuffer -check-prefix=EMPTY /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl # executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DEMPTY -DRESOURCE=ByteAddressBuffer /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl # note: command had no output on stdout or stderr # executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -DRESOURCE=ByteAddressBuffer -check-prefix=EMPTY /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl # note: command had no output on stdout or stderr # RUN: at line 5 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DRESOURCE=ByteAddressBuffer /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -DRESOURCE=ByteAddressBuffer -check-prefixes=CHECK,CHECK-SRV,CHECK-NOSUBSCRIPT,CHECK-LOAD /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl # executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DRESOURCE=ByteAddressBuffer /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl # .---command stderr------------ # | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:572: decltype(auto) llvm::cast(From *) [To = clang::FunctionDecl, From = clang::DeclContext]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed. # | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. # | Stack dump: # | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -DRESOURCE=ByteAddressBuffer /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl # | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl:33:16: current parser token ';' # | #0 0x0000000008e10968 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13 # | #1 0x0000000008e0e095 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 # | #2 0x0000000008e11731 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38 # | #3 0x00007e8a1c025330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330) # | #4 0x00007e8a1c07eb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c) # | #5 0x00007e8a1c02527e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e) # | #6 0x00007e8a1c0088ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff) # | #7 0x00007e8a1c00881b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b) # | #8 0x00007e8a1c01b517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517) # | #9 0x000000000b3b9d2d (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0xb3b9d2d) # | #10 0x000000000b63256e clang::SemaHLSL::CheckBuiltinFunctionCall(unsigned int, clang::CallExpr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaHLSL.cpp:3377:26 # | #11 0x000000000b25c2fb clang::Sema::CheckBuiltinFunctionCall(clang::FunctionDecl*, unsigned int, clang::CallExpr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaChecking.cpp:3725:36 # | #12 0x000000000b4f1dee clang::Sema::BuildResolvedCallExpr(clang::Expr*, clang::NamedDecl*, clang::SourceLocation, llvm::ArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, clang::CallExpr::ADLCallKind) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExpr.cpp:7201:14 # | #13 0x000000000b4d8b64 clang::Sema::BuildCallExpr(clang::Scope*, clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExpr.cpp:6858:10 # | #14 0x000000000b19eb07 clang::hlsl::BuiltinTypeMethodBuilder& clang::hlsl::BuiltinTypeMethodBuilder::callBuiltin<clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder>(llvm::StringRef, clang::QualType, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder&&, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder&&, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder&&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp:620:41 # | #15 0x000000000b19fc04 clang::hlsl::BuiltinTypeDeclBuilder::addLoadWithStatusFunction(clang::DeclarationName&, clang::QualType, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp:1365:8 # | #16 0x000000000b19fd06 operator QualType /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/CanonicalType.h:93:38 # | #17 0x000000000b19fd06 clang::hlsl::BuiltinTypeDeclBuilder::addByteAddressBufferLoadMethods() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp:1231:42 # | #18 0x000000000b1999e6 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLExternalSemaSource.cpp:484:10 # | #19 0x000000000b1999e6 __invoke_impl<void, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLExternalSemaSource.cpp:480:22) &, clang::CXXRecordDecl *> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:61:14 # | #20 0x000000000b1999e6 __invoke_r<void, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLExternalSemaSource.cpp:480:22) &, clang::CXXRecordDecl *> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:111:2 # | #21 0x000000000b1999e6 std::_Function_handler<void (clang::CXXRecordDecl*), clang::HLSLExternalSemaSource::defineHLSLTypesWithForwardDeclarations()::$_8>::_M_invoke(std::_Any_data const&, clang::CXXRecordDecl*&&) /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:290:9 # | #22 0x000000000b198fd7 clang::HLSLExternalSemaSource::CompleteType(clang::TagDecl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLExternalSemaSource.cpp:528:1 # | #23 0x000000000bacb27e clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaType.cpp:0:19 # | #24 0x000000000bacad8f clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaType.cpp:9253:7 # | #25 0x000000000bacbca8 clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, unsigned int) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaType.cpp:9596:1 # | #26 0x000000000b636af4 clang::SemaHLSL::ActOnVariableDeclarator(clang::VarDecl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaHLSL.cpp:4218:17 # | #27 0x000000000b3b1781 getLangOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/Sema.h:920:51 # | #28 0x000000000b3b1781 clang::Sema::ActOnVariableDeclarator(clang::Scope*, clang::Declarator&, clang::DeclContext*, clang::TypeSourceInfo*, clang::LookupResult&, llvm::MutableArrayRef<clang::TemplateParameterList*>, bool&, llvm::ArrayRef<clang::BindingDecl*>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDecl.cpp:8250:7 # | #29 0x000000000b3a7d3a clang::Sema::HandleDeclarator(clang::Scope*, clang::Declarator&, llvm::MutableArrayRef<clang::TemplateParameterList*>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDecl.cpp:0:11 # | #30 0x000000000b3a72ba clang::Sema::ActOnDeclarator(clang::Scope*, clang::Declarator&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDecl.cpp:6272:15 # | #31 0x000000000b10c03a clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:0 # | #32 0x000000000b10a5b7 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:2355:7 # | #33 0x000000000b09cdcf clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:10 # | #34 0x000000000b09c6d6 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:1170:12 # | #35 0x000000000b09b77e clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:14 # | #36 0x000000000b0999a0 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:706:10 # | #37 0x000000000b0994b1 clang::Parser::ParseFirstTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:602:23 # | #38 0x000000000b08deea clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5 # | #39 0x0000000009b41843 clang::HLSLFrontendAction::ExecuteAction() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendActions.cpp:0:35 # | #40 0x0000000009b09656 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1317:10 # | #41 0x0000000009a6fb8d getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42 # | #42 0x0000000009a6fb8d operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16 # | #43 0x0000000009a6fb8d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1007:23 # | #44 0x0000000009bfcb0c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:310:25 # | #45 0x00000000060b3919 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:304:15 # | #46 0x00000000060af6e5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:226:12 # | #47 0x00000000060ae74d clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:274:12 # | #48 0x00000000060bf887 main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10 # | #49 0x00007e8a1c00a1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca) # | #50 0x00007e8a1c00a28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b) # | #51 0x00000000060ad125 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x60ad125) # `----------------------------- # error: command failed with exit status: -6 # executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -DRESOURCE=ByteAddressBuffer -check-prefixes=CHECK,CHECK-SRV,CHECK-NOSUBSCRIPT,CHECK-LOAD /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl # .---command stderr------------ # | FileCheck error: '<stdin>' is empty. # | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -DRESOURCE=ByteAddressBuffer -check-prefixes=CHECK,CHECK-SRV,CHECK-NOSUBSCRIPT,CHECK-LOAD /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl # `----------------------------- # error: command failed with exit status: 2 -- ``` </details> <details> <summary>Clang.CodeGenHLSL/resources/ByteAddressBuffers-constructors.hlsl</summary> ``` Exit Code: 2 Command Output (stdout): -- # RUN: at line 1 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -emit-llvm -disable-llvm-passes -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/ByteAddressBuffers-constructors.hlsl | llvm-cxxfilt | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/ByteAddressBuffers-constructors.hlsl --check-prefixes=CHECK,CHECK-DXIL # executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -emit-llvm -disable-llvm-passes -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/ByteAddressBuffers-constructors.hlsl # .---command stderr------------ # | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:572: decltype(auto) llvm::cast(From *) [To = clang::FunctionDecl, From = clang::DeclContext]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed. # | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. # | Stack dump: # | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -emit-llvm -disable-llvm-passes -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/ByteAddressBuffers-constructors.hlsl # | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/ByteAddressBuffers-constructors.hlsl:14:46: current parser token ';' # | #0 0x0000000008e10968 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13 # | #1 0x0000000008e0e095 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 # | #2 0x0000000008e11731 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38 # | #3 0x000078261adf3330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330) # | #4 0x000078261ae4cb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c) # | #5 0x000078261adf327e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e) # | #6 0x000078261add68ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff) # | #7 0x000078261add681b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b) # | #8 0x000078261ade9517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517) # | #9 0x000000000b3b9d2d (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0xb3b9d2d) # | #10 0x000000000b63256e clang::SemaHLSL::CheckBuiltinFunctionCall(unsigned int, clang::CallExpr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaHLSL.cpp:3377:26 # | #11 0x000000000b25c2fb clang::Sema::CheckBuiltinFunctionCall(clang::FunctionDecl*, unsigned int, clang::CallExpr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaChecking.cpp:3725:36 # | #12 0x000000000b4f1dee clang::Sema::BuildResolvedCallExpr(clang::Expr*, clang::NamedDecl*, clang::SourceLocation, llvm::ArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, clang::CallExpr::ADLCallKind) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExpr.cpp:7201:14 # | #13 0x000000000b4d8b64 clang::Sema::BuildCallExpr(clang::Scope*, clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExpr.cpp:6858:10 # | #14 0x000000000b19eb07 clang::hlsl::BuiltinTypeMethodBuilder& clang::hlsl::BuiltinTypeMethodBuilder::callBuiltin<clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder>(llvm::StringRef, clang::QualType, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder&&, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder&&, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder&&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp:620:41 # | #15 0x000000000b19fc04 clang::hlsl::BuiltinTypeDeclBuilder::addLoadWithStatusFunction(clang::DeclarationName&, clang::QualType, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp:1365:8 # | #16 0x000000000b19fd06 operator QualType /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/CanonicalType.h:93:38 # | #17 0x000000000b19fd06 clang::hlsl::BuiltinTypeDeclBuilder::addByteAddressBufferLoadMethods() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp:1231:42 # | #18 0x000000000b1999e6 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLExternalSemaSource.cpp:484:10 # | #19 0x000000000b1999e6 __invoke_impl<void, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLExternalSemaSource.cpp:480:22) &, clang::CXXRecordDecl *> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:61:14 # | #20 0x000000000b1999e6 __invoke_r<void, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLExternalSemaSource.cpp:480:22) &, clang::CXXRecordDecl *> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:111:2 # | #21 0x000000000b1999e6 std::_Function_handler<void (clang::CXXRecordDecl*), clang::HLSLExternalSemaSource::defineHLSLTypesWithForwardDeclarations()::$_8>::_M_invoke(std::_Any_data const&, clang::CXXRecordDecl*&&) /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:290:9 # | #22 0x000000000b198fd7 clang::HLSLExternalSemaSource::CompleteType(clang::TagDecl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLExternalSemaSource.cpp:528:1 # | #23 0x000000000bacb27e clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaType.cpp:0:19 # | #24 0x000000000bacad8f clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaType.cpp:9253:7 # | #25 0x000000000bacbca8 clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, unsigned int) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaType.cpp:9596:1 # | #26 0x000000000b630ad0 RequireCompleteType /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/Sema.h:0:12 # | #27 0x000000000b630ad0 clang::SemaHLSL::handleResourceBindingAttr(clang::Decl*, clang::ParsedAttr const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaHLSL.cpp:2470:17 # | #28 0x000000000b424247 operator== /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/iterator.h:300:18 # | #29 0x000000000b424247 operator!= /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/iterator.h:184:51 # | #30 0x000000000b424247 clang::Sema::ProcessDeclAttributeList(clang::Scope*, clang::Decl*, clang::ParsedAttributesView const&, clang::Sema::ProcessDeclAttributeOptions const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:8149:29 # | #31 0x000000000b429fad clang::Sema::ProcessDeclAttributes(clang::Scope*, clang::Decl*, clang::Declarator const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:8494:23 # | #32 0x000000000b3b1752 getLangOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/Sema.h:920:51 # | #33 0x000000000b3b1752 clang::Sema::ActOnVariableDeclarator(clang::Scope*, clang::Declarator&, clang::DeclContext*, clang::TypeSourceInfo*, clang::LookupResult&, llvm::MutableArrayRef<clang::TemplateParameterList*>, bool&, llvm::ArrayRef<clang::BindingDecl*>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDecl.cpp:8247:7 # | #34 0x000000000b3a7d3a clang::Sema::HandleDeclarator(clang::Scope*, clang::Declarator&, llvm::MutableArrayRef<clang::TemplateParameterList*>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDecl.cpp:0:11 # | #35 0x000000000b3a72ba clang::Sema::ActOnDeclarator(clang::Scope*, clang::Declarator&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDecl.cpp:6272:15 # | #36 0x000000000b10c03a clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:0 # | #37 0x000000000b10a5b7 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:2355:7 # | #38 0x000000000b09cdcf clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:10 # | #39 0x000000000b09c6d6 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:1170:12 # | #40 0x000000000b09b77e clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:14 # | #41 0x000000000b0999a0 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:706:10 # | #42 0x000000000b0994b1 clang::Parser::ParseFirstTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:602:23 # | #43 0x000000000b08deea clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5 # | #44 0x0000000009b41843 clang::HLSLFrontendAction::ExecuteAction() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendActions.cpp:0:35 # | #45 0x0000000009b09656 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1317:10 # | #46 0x0000000009a6fb8d getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42 # | #47 0x0000000009a6fb8d operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16 # | #48 0x0000000009a6fb8d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1007:23 # | #49 0x0000000009bfcb0c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:310:25 # | #50 0x00000000060b3919 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:304:15 # | #51 0x00000000060af6e5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:226:12 # | #52 0x00000000060ae74d clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:274:12 # | #53 0x00000000060bf887 main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10 # | #54 0x000078261add81ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca) # | #55 0x000078261add828b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b) # | #56 0x00000000060ad125 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x60ad125) # `----------------------------- # error: command failed with exit status: -6 # executed command: llvm-cxxfilt # note: command had no output on stdout or stderr # executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/ByteAddressBuffers-constructors.hlsl --check-prefixes=CHECK,CHECK-DXIL # .---command stderr------------ # | FileCheck error: '<stdin>' is empty. # | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/ByteAddressBuffers-constructors.hlsl --check-prefixes=CHECK,CHECK-DXIL # `----------------------------- # error: command failed with exit status: 2 -- ``` </details> <details> <summary>Clang.CodeGenHLSL/resources/ByteAddressBuffers-methods.hlsl</summary> ``` Exit Code: 2 Command Output (stdout): -- # RUN: at line 1 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -finclude-default-header -emit-llvm -disable-llvm-passes -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/ByteAddressBuffers-methods.hlsl | llvm-cxxfilt | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/ByteAddressBuffers-methods.hlsl --check-prefixes=CHECK,DXIL # executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -finclude-default-header -emit-llvm -disable-llvm-passes -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/ByteAddressBuffers-methods.hlsl # .---command stderr------------ # | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:572: decltype(auto) llvm::cast(From *) [To = clang::FunctionDecl, From = clang::DeclContext]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed. # | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. # | Stack dump: # | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -finclude-default-header -emit-llvm -disable-llvm-passes -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/ByteAddressBuffers-methods.hlsl # | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/ByteAddressBuffers-methods.hlsl:6:37: current parser token ';' # | #0 0x0000000008e10968 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13 # | #1 0x0000000008e0e095 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 # | #2 0x0000000008e11731 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38 # | #3 0x00007bf953055330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330) # | #4 0x00007bf9530aeb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c) # | #5 0x00007bf95305527e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e) # | #6 0x00007bf9530388ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff) # | #7 0x00007bf95303881b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b) # | #8 0x00007bf95304b517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517) # | #9 0x000000000b3b9d2d (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0xb3b9d2d) # | #10 0x000000000b63256e clang::SemaHLSL::CheckBuiltinFunctionCall(unsigned int, clang::CallExpr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaHLSL.cpp:3377:26 # | #11 0x000000000b25c2fb clang::Sema::CheckBuiltinFunctionCall(clang::FunctionDecl*, unsigned int, clang::CallExpr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaChecking.cpp:3725:36 # | #12 0x000000000b4f1dee clang::Sema::BuildResolvedCallExpr(clang::Expr*, clang::NamedDecl*, clang::SourceLocation, llvm::ArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, clang::CallExpr::ADLCallKind) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExpr.cpp:7201:14 # | #13 0x000000000b4d8b64 clang::Sema::BuildCallExpr(clang::Scope*, clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExpr.cpp:6858:10 # | #14 0x000000000b19eb07 clang::hlsl::BuiltinTypeMethodBuilder& clang::hlsl::BuiltinTypeMethodBuilder::callBuiltin<clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder>(llvm::StringRef, clang::QualType, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder&&, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder&&, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder&&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp:620:41 # | #15 0x000000000b19fc04 clang::hlsl::BuiltinTypeDeclBuilder::addLoadWithStatusFunction(clang::DeclarationName&, clang::QualType, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp:1365:8 # | #16 0x000000000b19fd06 operator QualType /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/CanonicalType.h:93:38 # | #17 0x000000000b19fd06 clang::hlsl::BuiltinTypeDeclBuilder::addByteAddressBufferLoadMethods() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp:1231:42 # | #18 0x000000000b1999e6 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLExternalSemaSource.cpp:484:10 # | #19 0x000000000b1999e6 __invoke_impl<void, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLExternalSemaSource.cpp:480:22) &, clang::CXXRecordDecl *> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:61:14 # | #20 0x000000000b1999e6 __invoke_r<void, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLExternalSemaSource.cpp:480:22) &, clang::CXXRecordDecl *> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:111:2 # | #21 0x000000000b1999e6 std::_Function_handler<void (clang::CXXRecordDecl*), clang::HLSLExternalSemaSource::defineHLSLTypesWithForwardDeclarations()::$_8>::_M_invoke(std::_Any_data const&, clang::CXXRecordDecl*&&) /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:290:9 # | #22 0x000000000b198fd7 clang::HLSLExternalSemaSource::CompleteType(clang::TagDecl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLExternalSemaSource.cpp:528:1 # | #23 0x000000000bacb27e clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaType.cpp:0:19 # | #24 0x000000000bacad8f clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaType.cpp:9253:7 # | #25 0x000000000bacbca8 clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, unsigned int) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaType.cpp:9596:1 # | #26 0x000000000b630ad0 RequireCompleteType /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/Sema.h:0:12 # | #27 0x000000000b630ad0 clang::SemaHLSL::handleResourceBindingAttr(clang::Decl*, clang::ParsedAttr const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaHLSL.cpp:2470:17 # | #28 0x000000000b424247 operator== /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/iterator.h:300:18 # | #29 0x000000000b424247 operator!= /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/iterator.h:184:51 # | #30 0x000000000b424247 clang::Sema::ProcessDeclAttributeList(clang::Scope*, clang::Decl*, clang::ParsedAttributesView const&, clang::Sema::ProcessDeclAttributeOptions const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:8149:29 # | #31 0x000000000b429fad clang::Sema::ProcessDeclAttributes(clang::Scope*, clang::Decl*, clang::Declarator const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:8494:23 # | #32 0x000000000b3b1752 getLangOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/Sema.h:920:51 # | #33 0x000000000b3b1752 clang::Sema::ActOnVariableDeclarator(clang::Scope*, clang::Declarator&, clang::DeclContext*, clang::TypeSourceInfo*, clang::LookupResult&, llvm::MutableArrayRef<clang::TemplateParameterList*>, bool&, llvm::ArrayRef<clang::BindingDecl*>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDecl.cpp:8247:7 # | #34 0x000000000b3a7d3a clang::Sema::HandleDeclarator(clang::Scope*, clang::Declarator&, llvm::MutableArrayRef<clang::TemplateParameterList*>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDecl.cpp:0:11 # | #35 0x000000000b3a72ba clang::Sema::ActOnDeclarator(clang::Scope*, clang::Declarator&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDecl.cpp:6272:15 # | #36 0x000000000b10c03a clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:0 # | #37 0x000000000b10a5b7 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:2355:7 # | #38 0x000000000b09cdcf clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:10 # | #39 0x000000000b09c6d6 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:1170:12 # | #40 0x000000000b09b77e clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:14 # | #41 0x000000000b0999a0 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:706:10 # | #42 0x000000000b08e00e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5 # | #43 0x0000000009b41843 clang::HLSLFrontendAction::ExecuteAction() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendActions.cpp:0:35 # | #44 0x0000000009b09656 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1317:10 # | #45 0x0000000009a6fb8d getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42 # | #46 0x0000000009a6fb8d operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16 # | #47 0x0000000009a6fb8d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1007:23 # | #48 0x0000000009bfcb0c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:310:25 # | #49 0x00000000060b3919 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:304:15 # | #50 0x00000000060af6e5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:226:12 # | #51 0x00000000060ae74d clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:274:12 # | #52 0x00000000060bf887 main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10 # | #53 0x00007bf95303a1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca) # | #54 0x00007bf95303a28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b) # | #55 0x00000000060ad125 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x60ad125) # `----------------------------- # error: command failed with exit status: -6 # executed command: llvm-cxxfilt # note: command had no output on stdout or stderr # executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/ByteAddressBuffers-methods.hlsl --check-prefixes=CHECK,DXIL # .---command stderr------------ # | FileCheck error: '<stdin>' is empty. # | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/ByteAddressBuffers-methods.hlsl --check-prefixes=CHECK,DXIL # `----------------------------- # error: command failed with exit status: 2 -- ``` </details> <details> <summary>Clang.SemaHLSL/BuiltIns/ByteAddressBuffers.hlsl</summary> ``` Exit Code: -6 Command Output (stdout): -- # RUN: at line 1 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -finclude-default-header -triple dxil-pc-shadermodel6.6-library -x hlsl -fsyntax-only -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/BuiltIns/ByteAddressBuffers.hlsl # executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -finclude-default-header -triple dxil-pc-shadermodel6.6-library -x hlsl -fsyntax-only -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/BuiltIns/ByteAddressBuffers.hlsl # .---command stderr------------ # | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:572: decltype(auto) llvm::cast(From *) [To = clang::FunctionDecl, From = clang::DeclContext]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed. # | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. # | Stack dump: # | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -finclude-default-header -triple dxil-pc-shadermodel6.6-library -x hlsl -fsyntax-only -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/BuiltIns/ByteAddressBuffers.hlsl # | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/BuiltIns/ByteAddressBuffers.hlsl:3:37: current parser token ';' # | #0 0x0000000008e10968 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13 # | #1 0x0000000008e0e095 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 # | #2 0x0000000008e11731 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38 # | #3 0x00007efd40ac1330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330) # | #4 0x00007efd40b1ab2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c) # | #5 0x00007efd40ac127e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e) # | #6 0x00007efd40aa48ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff) # | #7 0x00007efd40aa481b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b) # | #8 0x00007efd40ab7517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517) # | #9 0x000000000b3b9d2d (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0xb3b9d2d) # | #10 0x000000000b63256e clang::SemaHLSL::CheckBuiltinFunctionCall(unsigned int, clang::CallExpr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaHLSL.cpp:3377:26 # | #11 0x000000000b25c2fb clang::Sema::CheckBuiltinFunctionCall(clang::FunctionDecl*, unsigned int, clang::CallExpr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaChecking.cpp:3725:36 # | #12 0x000000000b4f1dee clang::Sema::BuildResolvedCallExpr(clang::Expr*, clang::NamedDecl*, clang::SourceLocation, llvm::ArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, clang::CallExpr::ADLCallKind) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExpr.cpp:7201:14 # | #13 0x000000000b4d8b64 clang::Sema::BuildCallExpr(clang::Scope*, clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExpr.cpp:6858:10 # | #14 0x000000000b19eb07 clang::hlsl::BuiltinTypeMethodBuilder& clang::hlsl::BuiltinTypeMethodBuilder::callBuiltin<clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder>(llvm::StringRef, clang::QualType, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder&&, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder&&, clang::hlsl::BuiltinTypeMethodBuilder::PlaceHolder&&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp:620:41 # | #15 0x000000000b19fc04 clang::hlsl::BuiltinTypeDeclBuilder::addLoadWithStatusFunction(clang::DeclarationName&, clang::QualType, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp:1365:8 # | #16 0x000000000b19fd06 operator QualType /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/CanonicalType.h:93:38 # | #17 0x000000000b19fd06 clang::hlsl::BuiltinTypeDeclBuilder::addByteAddressBufferLoadMethods() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp:1231:42 # | #18 0x000000000b1999e6 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLExternalSemaSource.cpp:484:10 # | #19 0x000000000b1999e6 __invoke_impl<void, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLExternalSemaSource.cpp:480:22) &, clang::CXXRecordDecl *> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:61:14 # | #20 0x000000000b1999e6 __invoke_r<void, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLExternalSemaSource.cpp:480:22) &, clang::CXXRecordDecl *> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:111:2 # | #21 0x000000000b1999e6 std::_Function_handler<void (clang::CXXRecordDecl*), clang::HLSLExternalSemaSource::defineHLSLTypesWithForwardDeclarations()::$_8>::_M_invoke(std::_Any_data const&, clang::CXXRecordDecl*&&) /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:290:9 # | #22 0x000000000b198fd7 clang::HLSLExternalSemaSource::CompleteType(clang::TagDecl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/HLSLExternalSemaSource.cpp:528:1 # | #23 0x000000000bacb27e clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaType.cpp:0:19 # | #24 0x000000000bacad8f clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaType.cpp:9253:7 # | #25 0x000000000bacbca8 clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, unsigned int) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaType.cpp:9596:1 # | #26 0x000000000b630ad0 RequireCompleteType /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/Sema.h:0:12 # | #27 0x000000000b630ad0 clang::SemaHLSL::handleResourceBindingAttr(clang::Decl*, clang::ParsedAttr const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaHLSL.cpp:2470:17 # | #28 0x000000000b424247 operator== /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/iterator.h:300:18 # | #29 0x000000000b424247 operator!= /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/iterator.h:184:51 # | #30 0x000000000b424247 clang::Sema::ProcessDeclAttributeList(clang::Scope*, clang::Decl*, clang::ParsedAttributesView const&, clang::Sema::ProcessDeclAttributeOptions const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:8149:29 # | #31 0x000000000b429fad clang::Sema::ProcessDeclAttributes(clang::Scope*, clang::Decl*, clang::Declarator const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:8494:23 # | #32 0x000000000b3b1752 getLangOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/Sema.h:920:51 # | #33 0x000000000b3b1752 clang::Sema::ActOnVariableDeclarator(clang::Scope*, clang::Declarator&, clang::DeclContext*, clang::TypeSourceInfo*, clang::LookupResult&, llvm::MutableArrayRef<clang::TemplateParameterList*>, bool&, llvm::ArrayRef<clang::BindingDecl*>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDecl.cpp:8247:7 # | #34 0x000000000b3a7d3a clang::Sema::HandleDeclarator(clang::Scope*, clang::Declarator&, llvm::MutableArrayRef<clang::TemplateParameterList*>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDecl.cpp:0:11 # | #35 0x000000000b3a72ba clang::Sema::ActOnDeclarator(clang::Scope*, clang::Declarator&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDecl.cpp:6272:15 # | #36 0x000000000b10c03a clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:0 # | #37 0x000000000b10a5b7 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:2355:7 # | #38 0x000000000b09cdcf clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:10 # | #39 0x000000000b09c6d6 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:1170:12 # | #40 0x000000000b09b77e clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:14 # | #41 0x000000000b0999a0 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:706:10 # | #42 0x000000000b08e00e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5 # | #43 0x0000000009b41843 clang::HLSLFrontendAction::ExecuteAction() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendActions.cpp:0:35 # | #44 0x0000000009b09656 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1317:10 # | #45 0x0000000009a6fb8d getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42 # | #46 0x0000000009a6fb8d operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16 # | #47 0x0000000009a6fb8d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1007:23 # | #48 0x0000000009bfcb0c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:310:25 # | #49 0x00000000060b3919 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:304:15 # | #50 0x00000000060af6e5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:226:12 # | #51 0x00000000060ae74d clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:274:12 # | #52 0x00000000060bf887 main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10 # | #53 0x00007efd40aa61ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca) # | #54 0x00007efd40aa628b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b) # | #55 0x00000000060ad125 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x60ad125) # `----------------------------- # error: command failed with exit status: -6 -- ``` </details> If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label. https://github.com/llvm/llvm-project/pull/176058 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
