[PATCH] D97101: [Coverage] Emit zero count gap region between statements if first statements contains return, throw, goto, co_return

Zequan Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 22 11:39:57 PST 2021


zequanwu updated this revision to Diff 325516.
zequanwu added a comment.
Herald added a project: Sanitizers.
Herald added a subscriber: Sanitizers.

Rebase and fix runtime-counter-relocation.c

> Do we have to revert D85036 <https://reviews.llvm.org/D85036> in the same patch in order to keep the integration tests green?

I didn't revert D85036 <https://reviews.llvm.org/D85036>. I don't know why phabricator thinks I did.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97101/new/

https://reviews.llvm.org/D97101

Files:
  clang/lib/CodeGen/CoverageMappingGen.cpp
  clang/test/CoverageMapping/classtemplate.cpp
  clang/test/CoverageMapping/coroutine.cpp
  clang/test/CoverageMapping/deferred-region.cpp
  clang/test/CoverageMapping/label.cpp
  clang/test/CoverageMapping/moremacros.c
  clang/test/CoverageMapping/return.c
  clang/test/CoverageMapping/switch.cpp
  clang/test/CoverageMapping/switchmacro.c
  clang/test/CoverageMapping/terminate-statements.cpp
  clang/test/CoverageMapping/trycatch.cpp
  clang/test/CoverageMapping/unreachable-macro.c
  compiler-rt/test/profile/ContinuousSyncMode/runtime-counter-relocation.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97101.325516.patch
Type: text/x-patch
Size: 33978 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210222/2bd65ed3/attachment-0001.bin>


More information about the cfe-commits mailing list