[clang] [llvm] [MTE] Add an attribute to opt-in memory tagging of global variables while using fsanitize=memtag-globals (#166380) (PR #168535)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 18 19:59:40 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 166073 tests passed
* 2834 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:194:16: error: CHECK-NEXT: is not on the line after the previous match
# | // CHECK-NEXT: SetTypestate (SubjectMatchRule_function_is_member)
# | ^
# | <stdin>:191:1: note: 'next' match was here
# | SetTypestate (SubjectMatchRule_function_is_member)
# | ^
# | <stdin>:189:135: note: previous match ended here
# | Section (SubjectMatchRule_function, SubjectMatchRule_variable_is_global, SubjectMatchRule_objc_method, SubjectMatchRule_objc_property)
# | ^
# | <stdin>:190:1: note: non-matching line after previous match is here
# | SectionMemtag (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:
# | <<<<<<
# | .
# | .
# | .
# | 186: SYCLKernelEntryPoint (SubjectMatchRule_function)
# | 187: SYCLSpecialClass (SubjectMatchRule_record)
# | 188: ScopedLockable (SubjectMatchRule_record)
# | 189: Section (SubjectMatchRule_function, SubjectMatchRule_variable_is_global, SubjectMatchRule_objc_method, SubjectMatchRule_objc_property)
# | 190: SectionMemtag (SubjectMatchRule_variable_is_global)
# | 191: SetTypestate (SubjectMatchRule_function_is_member)
# | next:194 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 192: SpeculativeLoadHardening (SubjectMatchRule_function, SubjectMatchRule_objc_method)
# | 193: StandaloneDebug (SubjectMatchRule_record)
# | 194: SwiftAsync (SubjectMatchRule_function, SubjectMatchRule_objc_method)
# | 195: SwiftAsyncContext (SubjectMatchRule_variable_is_parameter)
# | 196: SwiftAsyncError (SubjectMatchRule_function, SubjectMatchRule_objc_method)
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/168535
More information about the llvm-commits
mailing list