[PATCH] D99695: [llvm-cov] Use -path-equivalence to support relative path.
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 1 11:11:11 PDT 2021
vsk added a comment.
I think then you would somehow need multiple -compilation-dir options if e.g. you have paths with different levels of ../ nesting, e.g. ../../foo.c and ../../../../bar.c. That sounds like it could become hard to manage.
In RawCoverageFilenamesReader::readUncompressed, we do:
SmallString<256> P(CWD);
llvm::sys::path::append(P, Filename);
Can this just be turned into an absolute path?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99695/new/
https://reviews.llvm.org/D99695
More information about the llvm-commits
mailing list