HomePhabricator

Fix TSAN signal interceptor out-of-bound access

Authored by scw on Jul 21 2021, 10:59 AM.

Description

Fix TSAN signal interceptor out-of-bound access

signal(2) and sigaction(2) have defined behaviors for invalid signal number
(EINVAL) and some programs rely on it.

The added test case also reveals that MSAN is too strict in this regard.

Test case passed on x86_64 Linux and AArch64 Linux.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D106468

Details

Committed
scwJul 22 2021, 12:38 PM
Reviewer
vitalybuka
Differential Revision
D106468: Fix TSAN signal interceptor out-of-bound access
Parents
rG4294657bd5f6: [LICM][SCCP] Regenerate test checks (NFC)
Branches
Unknown
Tags
Unknown