[all-commits] [llvm/llvm-project] 421215: [SanitizerBinaryMetadata] Support ignore list
Marco Elver via All-commits
all-commits at lists.llvm.org
Fri Feb 10 01:26:28 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 421215b919d037a912cd4fffa73242852da41fc0
https://github.com/llvm/llvm-project/commit/421215b919d037a912cd4fffa73242852da41fc0
Author: Marco Elver <elver at google.com>
Date: 2023-02-10 (Fri, 10 Feb 2023)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.h
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Driver/Options.td
M clang/include/clang/Driver/SanitizerArgs.h
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/Driver/SanitizerArgs.cpp
A clang/test/CodeGen/sanitize-metadata-ignorelist.c
A clang/test/Driver/fsanitize-metadata-ignorelist.c
M llvm/include/llvm/Transforms/Instrumentation/SanitizerBinaryMetadata.h
M llvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp
Log Message:
-----------
[SanitizerBinaryMetadata] Support ignore list
For large projects it will be required to opt out entire subdirectories.
In the absence of fine-grained control over the flags passed via the
build system, introduce -fexperimental-sanitize-metadata-ignorelist=.
The format is identical to other sanitizer ignore lists, and its effect
will be to simply not instrument either functions or entire modules
based on the rules in the ignore list file.
Reviewed By: dvyukov
Differential Revision: https://reviews.llvm.org/D143664
More information about the All-commits
mailing list