diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2017-08-08 20:10:14 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2017-08-08 20:10:14 +0000 |
commit | 181dfe4c92ad2671a4ff5c2d91d927dd5a9958b8 (patch) | |
tree | 72fb63de58b20761fd03f90d5e8617cfc1e6d071 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 8a813cf646069b88b61ef0b1177327826b0d9ec6 (diff) | |
download | llvm-181dfe4c92ad2671a4ff5c2d91d927dd5a9958b8.zip llvm-181dfe4c92ad2671a4ff5c2d91d927dd5a9958b8.tar.gz llvm-181dfe4c92ad2671a4ff5c2d91d927dd5a9958b8.tar.bz2 |
[coverage] Special-case calls to noreturn functions.
The code after a noreturn call doesn't execute.
The pattern in the testcase is pretty common in LLVM (a switch with
a default case that calls llvm_unreachable).
The original version of this patch was reverted in r309995 due to a
crash. This version includes a fix for that crash (testcase in
test/CoverageMapping/md.cpp).
Differential Revision: https://reviews.llvm.org/D36250
llvm-svn: 310406
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions