[PATCH] D86471: [MSAN] Add fiber switching APIs
Justin Cady via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 24 09:56:16 PDT 2020
justincady created this revision.
justincady added a reviewer: eugenis.
Herald added subscribers: Sanitizers, lxfind, jfb, modocache.
Herald added a project: Sanitizers.
justincady requested review of this revision.
Add functions exposed via the MSAN interface to enable MSAN within
binaries that perform manual stack switching (e.g. through using fibers
or coroutines).
This functionality is analogous to the fiber APIs available for ASAN and TSAN.
Fixes google/sanitizers#1232
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86471
Files:
compiler-rt/include/sanitizer/msan_interface.h
compiler-rt/lib/msan/msan.cpp
compiler-rt/lib/msan/msan_interface_internal.h
compiler-rt/lib/msan/msan_thread.cpp
compiler-rt/lib/msan/msan_thread.h
compiler-rt/test/msan/Linux/swapcontext_annotation.cpp
compiler-rt/test/msan/Linux/swapcontext_annotation_reset.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86471.287429.patch
Type: text/x-patch
Size: 11163 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200824/f7a237f3/attachment.bin>
More information about the llvm-commits
mailing list