[PATCH] Move asan-coverage into a separate phase.

Kostya Serebryany kcc at google.com
Thu Nov 6 12:42:33 PST 2014


Hi samsonov, nlewycky,

This change moves asan-coverage instrumentation
into a separate Module pass.
The other part of the change in clang introduces a new flag
-fsanitize-coverage=N.
Another small patch will update tests in compiler-rt.

With this patch no functionality change is expected except for the flag name.
The following changes will make the coverage instrumentation work with tsan/msan

http://reviews.llvm.org/D6152

Files:
  include/llvm/InitializePasses.h
  include/llvm/Transforms/Instrumentation.h
  lib/Transforms/Instrumentation/AddressSanitizer.cpp
  lib/Transforms/Instrumentation/CMakeLists.txt
  lib/Transforms/Instrumentation/Instrumentation.cpp
  lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  test/Instrumentation/AddressSanitizer/coverage-dbg.ll
  test/Instrumentation/AddressSanitizer/coverage.ll
  test/Instrumentation/AddressSanitizer/coverage2-dbg.ll
  test/Instrumentation/SanitizerCoverage/
  test/Instrumentation/SanitizerCoverage/coverage-dbg.ll
  test/Instrumentation/SanitizerCoverage/coverage.ll
  test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6152.15887.patch
Type: text/x-patch
Size: 41170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141106/352b2176/attachment.bin>


More information about the llvm-commits mailing list