diff options
author | Pavel Labath <pavel@labath.sk> | 2019-02-26 13:38:23 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-02-26 13:38:23 +0000 |
commit | 89ae290b58e20fc5f56b7bfae4b34e7fef06e1b1 (patch) | |
tree | 90c9223033e575e7063acbb2aa913a7ad64dfb74 /compiler-rt/lib/asan/asan_internal.h | |
parent | 44fad947a5710c96da95423e92a6f27d5070cea4 (diff) | |
download | bcm5719-llvm-89ae290b58e20fc5f56b7bfae4b34e7fef06e1b1.tar.gz bcm5719-llvm-89ae290b58e20fc5f56b7bfae4b34e7fef06e1b1.zip |
[Sanitizer] Add interceptor for pthread_sigmask
Summary:
pthread_sigmask is just like sigprocmask, except that its behavior in
multithreaded programs is explicitly specified. Sanitizers were lacking
a common interceptor for pthread_sigmask (although some specific
sanitizers defined custom version), which lead to false positives
(at least in msan) when using this function.
The interceptor implementation, and its test are based on the equivalent
code for sigprocmask.
Reviewers: eugenis, vitalybuka
Subscribers: kubamracek, delcypher, jfb, jdoerfert, llvm-commits, #sanitizers
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D58382
llvm-svn: 354874
Diffstat (limited to 'compiler-rt/lib/asan/asan_internal.h')
0 files changed, 0 insertions, 0 deletions