[sanitizer-coverage] don't instrument a function if it's entry block ends with 'unrea...
authorKostya Serebryany <kcc@google.com>
Fri, 11 May 2018 01:09:39 +0000 (01:09 +0000)
committerKostya Serebryany <kcc@google.com>
Fri, 11 May 2018 01:09:39 +0000 (01:09 +0000)
commita2759327fdc80ab51e6706e0e3a92d0c23a066ca
tree6d27a027efd76ab4fc656f7c5fcc93d3b3dd57dd
parenta092e184cf955448d6015692ee9d9fa8dea6a006
[sanitizer-coverage] don't instrument a function if it's entry block ends with 'unreachable'

llvm-svn: 332072
llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
llvm/test/Instrumentation/SanitizerCoverage/abort-in-entry-block.ll [new file with mode: 0644]