[PATCH] D84988: WIP [Coverage] Add empty line regions to SkippedRegions

Zequan Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 20:55:25 PDT 2020


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

- Rebase.
- Merging adjcent skipped regions, if the regions are in the same file, could reduce binary size.
- The new empty lines regions break existing coverage tests, and don't know a good way to fix those. (probably add a null statement `;` at each empty line?)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84988

Files:
  clang/include/clang/Lex/Lexer.h
  clang/include/clang/Lex/Preprocessor.h
  clang/lib/CodeGen/CoverageMappingGen.cpp
  clang/lib/CodeGen/CoverageMappingGen.h
  clang/lib/Lex/Lexer.cpp
  clang/lib/Lex/Preprocessor.cpp
  clang/lib/Parse/ParseStmt.cpp
  compiler-rt/test/profile/coverage_emptylines.cpp
  compiler-rt/test/profile/instrprof-set-file-object-merging.c
  compiler-rt/test/profile/instrprof-set-file-object.c
  llvm/lib/ProfileData/Coverage/CoverageMapping.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84988.285811.patch
Type: text/x-patch
Size: 17274 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200815/e8337483/attachment.bin>


More information about the llvm-commits mailing list