We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3026eca commit a304c82Copy full SHA for a304c82
llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
@@ -973,8 +973,10 @@ bool GCOVProfiler::emitProfileNotes(
973
out.write(Tmp, 4);
974
}
975
write(Stamp);
976
+ // getcwd() breaks local determinism and is not easy to adjust with
977
+ // -ffile-prefix-map. Just write "." to appease GCC's gcov.
978
if (Version >= 90)
- writeString(""); // unuseful current_working_directory
979
+ writeString(".");
980
if (Version >= 80)
981
write(0); // unuseful has_unexecuted_blocks
982
0 commit comments