]> granicus.if.org Git - clang/commit
Add sanitizer blacklists to the rules generated with -M/-MM/-MD/-MMD.
authorIvan Krasin <krasin@chromium.org>
Thu, 13 Aug 2015 04:04:37 +0000 (04:04 +0000)
committerIvan Krasin <krasin@chromium.org>
Thu, 13 Aug 2015 04:04:37 +0000 (04:04 +0000)
commitf25cce359fbc4e70808d8ee4d07e71b26d13e30d
tree7a0be4dd4d7ed0d1df98ba2be5c8af1bb9b85daf
parent19136f1c582b0c5e07880f027224c8a30eb2d653
Add sanitizer blacklists to the rules generated with -M/-MM/-MD/-MMD.

Summary:
Clang sanitizers, such as AddressSanitizer, ThreadSanitizer, MemorySanitizer,
Control Flow Integrity and others, use blacklists to specify which types / functions
should not be instrumented to avoid false positives or suppress known failures.

This change adds the blacklist filenames to the list of dependencies of the rules,
generated with -M/-MM/-MD/-MMD. This lets CMake/Ninja recognize that certain
C/C++/ObjC files need to be recompiled (if a blacklist is updated).

Reviewers: pcc

Subscribers: rsmith, honggyu.kim, pcc, cfe-commits

Differential Revision: http://reviews.llvm.org/D11968

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244867 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/DependencyOutputOptions.h
include/clang/Frontend/Utils.h
lib/Frontend/CompilerInstance.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/DependencyFile.cpp
lib/Frontend/HeaderIncludeGen.cpp
test/Frontend/dependency-gen.c
test/Frontend/print-header-includes.c