1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/tools/llvm-cov
Vlad Tsyrklevich 0b4abdf3cc Add section headers to SpecialCaseLists
Summary:
Sanitizer blacklist entries currently apply to all sanitizers--there
is no way to specify that an entry should only apply to a specific
sanitizer. This is important for Control Flow Integrity since there are
several different CFI modes that can be enabled at once. For maximum
security, CFI blacklist entries should be scoped to only the specific
CFI mode(s) that entry applies to.

Adding section headers to SpecialCaseLists allows users to specify more
information about list entries, like sanitizer names or other metadata,
like so:

  [section1]
  fun:*fun1*
  [section2|section3]
  fun:*fun23*

The section headers are regular expressions. For backwards compatbility,
blacklist entries entered before a section header are put into the '[*]'
section so that blacklists without sections retain the same behavior.

SpecialCaseList has been modified to also accept a section name when
matching against the blacklist. It has also been modified so the
follow-up change to clang can define a derived class that allows
matching sections by SectionMask instead of by string.

Reviewers: pcc, kcc, eugenis, vsk

Reviewed By: eugenis, vsk

Subscribers: vitalybuka, llvm-commits

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

llvm-svn: 314170
2017-09-25 22:11:11 +00:00
..
CMakeLists.txt Retry: [llvm-cov] Add support for exporting coverage data to JSON 2016-07-26 22:50:58 +00:00
CodeCoverage.cpp [Support] Rename tool_output_file to ToolOutputFile, NFC 2017-09-23 01:03:17 +00:00
CoverageExporterJson.cpp [llvm-cov] Make some summary info fields private. NFC. 2017-09-15 23:00:01 +00:00
CoverageFilters.cpp Add section headers to SpecialCaseLists 2017-09-25 22:11:11 +00:00
CoverageFilters.h [llvm-cov] Make report metrics agree with line exec counts, fixes PR34615 2017-09-19 02:00:12 +00:00
CoverageReport.cpp [llvm-cov] Make report metrics agree with line exec counts, fixes PR34615 2017-09-19 02:00:12 +00:00
CoverageReport.h [llvm-cov] Fix a lifetime issue 2017-09-08 18:44:49 +00:00
CoverageSummaryInfo.cpp [llvm-cov] Make report metrics agree with line exec counts, fixes PR34615 2017-09-19 02:00:12 +00:00
CoverageSummaryInfo.h [llvm-cov] Make report metrics agree with line exec counts, fixes PR34615 2017-09-19 02:00:12 +00:00
CoverageViewOptions.h [llvm-cov] Allow hiding instantiation/region coverage from summary tables 2017-09-11 22:56:20 +00:00
gcov.cpp Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
llvm-cov.cpp Retry: [llvm-cov] Add support for exporting coverage data to JSON 2016-07-26 22:50:58 +00:00
LLVMBuild.txt Move coverage related code into a separate library. 2016-04-29 18:53:05 +00:00
RenderingSupport.h NFC, add an "end namespace" comment for consistency 2016-06-23 16:27:08 +00:00
SourceCoverageView.cpp [llvm-cov] Make report metrics agree with line exec counts, fixes PR34615 2017-09-19 02:00:12 +00:00
SourceCoverageView.h [llvm-cov] Make report metrics agree with line exec counts, fixes PR34615 2017-09-19 02:00:12 +00:00
SourceCoverageViewHTML.cpp [Coverage] Use gap regions to select better line exec counts 2017-09-18 23:37:28 +00:00
SourceCoverageViewHTML.h [llvm-cov] Rearrange entries in report index. 2017-08-09 20:43:31 +00:00
SourceCoverageViewText.cpp [Coverage] Use gap regions to select better line exec counts 2017-09-18 23:37:28 +00:00
SourceCoverageViewText.h [llvm-cov] Get rid of all invalid filename references 2016-09-23 18:57:32 +00:00
TestingSupport.cpp [ProfileData] Unify getInstrProf*SectionName helpers 2017-04-15 00:09:57 +00:00