HomePhabricator

[msan] Add support for disable_sanitizer_instrumentation attribute

Authored by glider on Aug 17 2021, 2:34 AM.

Description

[msan] Add support for disable_sanitizer_instrumentation attribute

Unlike attribute((no_sanitize("memory"))), this one will cause MSan
to skip the entire function during instrumentation.

Depends on https://reviews.llvm.org/D108029

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