This is an archive of the discontinued LLVM Phabricator instance.

[docs/llvm-cov] Document -compilation-dir
ClosedPublic

Authored by vsk on Jul 12 2021, 9:41 AM.

Details

Summary

Document the -compilation-dir option added in D100232.

Diff Detail

Event Timeline

vsk requested review of this revision.Jul 12 2021, 9:41 AM
vsk created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJul 12 2021, 9:41 AM
zequanwu added inline comments.Jul 12 2021, 10:43 AM
llvm/docs/CommandGuide/llvm-cov.rst
317

Binaries compiled with -ffile-compilation-dir= would also have compilation directory set for coverage mapping. The flag set both -fcoverage-compilation-dir and -fdebug-compilation-dir.

vsk updated this revision to Diff 358313.Jul 13 2021, 9:44 AM

Include -ffile-compilation-dir.

phosek accepted this revision.Jul 13 2021, 11:45 AM

LGTM

This revision is now accepted and ready to land.Jul 13 2021, 11:45 AM
This revision was landed with ongoing or failed builds.Jul 13 2021, 1:10 PM
This revision was automatically updated to reflect the committed changes.