[clang] [llvm] [Clang][WebAssembly] Add wasm_global declaration attribute (PR #221909)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 8 01:53:49 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 152733 tests passed
* 3268 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Misc/pragma-attribute-supported-attributes-list.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-tblgen -gen-clang-test-pragma-attribute-supported-attributes -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Basic/Attr.td -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/pragma-attribute-supported-attributes-list.test
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-tblgen -gen-clang-test-pragma-attribute-supported-attributes -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Basic/Attr.td -o -
# 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/Misc/pragma-attribute-supported-attributes-list.test
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/pragma-attribute-supported-attributes-list.test:239:16: error: CHECK-NEXT: is not on the line after the previous match
# | // CHECK-NEXT: WebAssemblyImportModule (SubjectMatchRule_function, SubjectMatchRule_variable_is_global)
# | ^
# | <stdin>:236:1: note: 'next' match was here
# | WebAssemblyImportModule (SubjectMatchRule_function, SubjectMatchRule_variable_is_global)
# | ^
# | <stdin>:234:87: note: previous match ended here
# | WebAssemblyExportName (SubjectMatchRule_function, SubjectMatchRule_variable_is_global)
# | ^
# | <stdin>:235:1: note: non-matching line after previous match is here
# | WebAssemblyGlobal (SubjectMatchRule_variable_is_global)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/pragma-attribute-supported-attributes-list.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 229: Visibility ()
# | 230: WarnUnused (SubjectMatchRule_record)
# | 231: WarnUnusedResult (SubjectMatchRule_objc_method, SubjectMatchRule_enum, SubjectMatchRule_record, SubjectMatchRule_hasType_functionType, SubjectMatchRule_type_alias)
# | 232: Weak (SubjectMatchRule_variable, SubjectMatchRule_function, SubjectMatchRule_record)
# | 233: WeakRef (SubjectMatchRule_variable, SubjectMatchRule_function)
# | 234: WebAssemblyExportName (SubjectMatchRule_function, SubjectMatchRule_variable_is_global)
# | next:239'0 { search range start (exclusive)
# | 235: WebAssemblyGlobal (SubjectMatchRule_variable_is_global)
# | 236: WebAssemblyImportModule (SubjectMatchRule_function, SubjectMatchRule_variable_is_global)
# | next:239'1 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 237: WebAssemblyImportName (SubjectMatchRule_function, SubjectMatchRule_variable_is_global)
# | 238: WorkGroupSizeHint (SubjectMatchRule_function)
# | 239: XRayInstrument (SubjectMatchRule_function, SubjectMatchRule_objc_method)
# | 240: XRayLogArgs (SubjectMatchRule_function, SubjectMatchRule_objc_method)
# | 241: ZeroCallUsedRegs (SubjectMatchRule_function)
# | 242: End of supported attributes.
# | next:239'2 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</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/221909
More information about the cfe-commits
mailing list