[sanitizer] Add posix_spawn interceptor
authorVitaly Buka <vitalybuka@google.com>
Fri, 29 Oct 2021 08:39:03 +0000 (01:39 -0700)
committerVitaly Buka <vitalybuka@google.com>
Sun, 31 Oct 2021 19:10:54 +0000 (12:10 -0700)
commite1240745ef958b575e12fd80bd99ce5a7a347e2c
tree421e4facb20403b9cd1490ac219c72dd270ff5c9
parent55e69ece721dbfb2a34b89cacd565fb2aa7b05a7
[sanitizer] Add posix_spawn interceptor

To make pid initialized for Msan.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D112784
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
compiler-rt/test/sanitizer_common/TestCases/Posix/posix_spawn.c [new file with mode: 0644]