[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)
commit186d61801c024f8b4c204dd4df6fafb50ef798ed
tree5221af51be62f79cd53bcf38665f4285fcef0fe4
parent4088571c51f108d42e9239e15673b32165fa16e9
[sanitizer-coverage] don't emit the CTOR function if nothing has been instrumented

llvm-svn: 282465
llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
llvm/test/Instrumentation/SanitizerCoverage/no-func.ll [new file with mode: 0644]