[PATCH] D81122: Reland: Use -fdebug-compilation-dir to form absolute paths in coverage mappings

Keith Smiley via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 3 16:02:39 PDT 2020


keith created this revision.
keith added reviewers: arphaman, vsk, rnk, cfe-commits, kastiglione.
Herald added subscribers: llvm-commits, dexonsmith.
Herald added projects: clang, LLVM.

This reverts commit 62808631acceaa8b78f8ab9b407eb6b943ff5f77.

This was previously reverted because llvm-cov's -path-equivalence usage
wasn't working as expected. This does work with
`-path-equivalence=,/bar` when used with `-fdebug-compilation-dir .`

More discussion: https://lists.llvm.org/pipermail/cfe-dev/2020-June/065668.html


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81122

Files:
  clang/lib/CodeGen/CoverageMappingGen.cpp
  clang/lib/CodeGen/CoverageMappingGen.h
  clang/test/CoverageMapping/debug-dir.cpp
  llvm/docs/CommandGuide/llvm-cov.rst

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81122.268326.patch
Type: text/x-patch
Size: 4118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200603/a295a07a/attachment.bin>


More information about the cfe-commits mailing list