]> granicus.if.org Git - llvm/commit
[asan/coverage] change the way asan coverage instrumentation is done: instead of...
authorKostya Serebryany <kcc@google.com>
Mon, 24 Nov 2014 18:49:53 +0000 (18:49 +0000)
committerKostya Serebryany <kcc@google.com>
Mon, 24 Nov 2014 18:49:53 +0000 (18:49 +0000)
commit678af17920c33ca7ec1178f861a62d540937ec35
tree3208738cc72096bd6b6d4741055651c956d1e713
parentedc6a1399285a8d81c7cbe3baad441b7bcff9a13
[asan/coverage] change the way asan coverage instrumentation is done: instead of setting the guard to 1 in the generated code, pass the pointer to guard to __sanitizer_cov and set it there. No user-visible functionality change expected

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222675 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
test/Instrumentation/SanitizerCoverage/coverage-dbg.ll
test/Instrumentation/SanitizerCoverage/coverage.ll
test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll