[PATCH] D127544: Add no_sanitize('hwaddress') (and 'memtag', but that's a no-op).
Mitch Phillips via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 10 14:56:42 PDT 2022
hctim created this revision.
hctim added a reviewer: pcc.
Herald added a reviewer: aaron.ballman.
Herald added a subscriber: Enna1.
Herald added a project: All.
hctim requested review of this revision.
Herald added projects: clang, Sanitizers.
Herald added subscribers: Sanitizers, cfe-commits.
Currently, __attribute__((no_sanitize('hwaddress'))) is not possible. Add this piece of plumbing, and now that we properly support copying attributes between an old and a new global variable, add a regression test for the GlobalOpt bug that previously lost the attribute.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127544
Files:
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/CodeGen/hwasan-globals.cpp
compiler-rt/test/hwasan/TestCases/global-with-reduction.c
compiler-rt/test/hwasan/TestCases/global.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127544.436055.patch
Type: text/x-patch
Size: 8702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220610/b44ed182/attachment.bin>
More information about the cfe-commits
mailing list