https://bugs.llvm.org/show_bug.cgi?id=43614
Akshay kumar S <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |[email protected]
Resolution|--- |FIXED
--- Comment #8 from Akshay kumar S <[email protected]> ---
I used command
%aclang++ -fcoverage-mapping -fprofile-instr-generate
-fcoverage-compilation-dir=. ../llcov_test/foo.cpp -o foo &&
LLVM_PROFILE_FILE="foo.profraw" ./foo && llvm-profdata merge -sparse
foo.profraw -o foo.profdata && llvm-cov report ./foo
-instr-profile=foo.profdata
to generate code coverage with relative path in the compiler output. and got
the result containing relative path. I think this what you were asking for.
Please correct me if I am wrong.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs