llvm-project/clang/test/CodeGen/Inputs
Vlad Tsyrklevich 2eccdab308 Allow specifying sanitizers in blacklists
Summary:
This is the follow-up patch to D37924.

This change refactors clang to use the the newly added section headers
in SpecialCaseList to specify which sanitizers blacklists entries
should apply to, like so:

  [cfi-vcall]
  fun:*bad_vcall*
  [cfi-derived-cast|cfi-unrelated-cast]
  fun:*bad_cast*

The SanitizerSpecialCaseList class has been added to allow querying by
SanitizerMask, and SanitizerBlacklist and its downstream users have been
updated to provide that information. Old blacklists not using sections
will continue to function identically since the blacklist entries will
be placed into a '[*]' section by default matching against all
sanitizers.

Reviewers: pcc, kcc, eugenis, vsk

Reviewed By: eugenis

Subscribers: dberris, cfe-commits, mgorny

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

llvm-svn: 314171
2017-09-25 22:11:12 +00:00
..
debug-info-file-checksum.c [DebugInfo] Added support for Checksum debug info feature. 2016-12-25 10:12:27 +00:00
debug-info-macro.h Move test include file from include/ to Inputs/ 2017-02-11 00:52:01 +00:00
opt-record.proftext Add an option to save the backend-produced YAML optimization record to a file 2016-10-11 00:26:09 +00:00
pgo-sample-thinlto-summary.prof Update the SamplePGO test to verify that unroll/icp is not invoked in thinlto compile phase. 2017-03-23 21:20:17 +00:00
pgo-sample.prof Revert r307445 as it breaks on certain platforms. 2017-07-07 22:40:37 +00:00
pgotestclang.profraw
pgotestir.profraw
sanitizer-special-case-list.sanitized.txt Allow specifying sanitizers in blacklists 2017-09-25 22:11:12 +00:00
sanitizer-special-case-list.unsanitized1.txt Allow specifying sanitizers in blacklists 2017-09-25 22:11:12 +00:00
sanitizer-special-case-list.unsanitized2.txt Allow specifying sanitizers in blacklists 2017-09-25 22:11:12 +00:00
sanitizer-special-case-list.unsanitized3.txt Allow specifying sanitizers in blacklists 2017-09-25 22:11:12 +00:00
sanitizer-special-case-list.unsanitized4.txt Allow specifying sanitizers in blacklists 2017-09-25 22:11:12 +00:00
stdio.h
thinlto-multi-module.ll Apply summary-based dead stripping to regular LTO modules with summaries. 2017-06-15 17:26:13 +00:00
thinlto_backend.ll