================
@@ -3655,6 +3655,16 @@ full list of supported sanitizer flags.
}];
}
+def ForceMemtagDocs : Documentation {
+ let Category = DocCatVariable;
+ let Content = [{
+Use the ``force_memtag`` attribute on a global variable declaration that also
+has the attribute section and the memory tag sanitizer is active to force the
+global variable to be MTE tagged. Global variables under sections are not
+tagged by default, so you need to explicitly opt-in using this attribute.
----------------
tarcisiofischer wrote:
I've added a note, but please feel free to reword, if you feel it's not good
enough!
https://github.com/llvm/llvm-project/pull/168535
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits