OSDN Git Service

[sanitizer-coverage] don't emit the CTOR function if nothing has been instrumented
authorKostya Serebryany <kcc@google.com>
Tue, 27 Sep 2016 01:08:33 +0000 (01:08 +0000)
committerKostya Serebryany <kcc@google.com>
Tue, 27 Sep 2016 01:08:33 +0000 (01:08 +0000)
commitdbadbd797db6279ecc23de3f62391b8daebefa21
tree6789d8c268699de58c0802c1cf271df6602fa729
parentcf66db4f9920541f53493932a99e026c044c8569
[sanitizer-coverage] don't emit the CTOR function if nothing has been instrumented

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282465 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
test/Instrumentation/SanitizerCoverage/no-func.ll [new file with mode: 0644]