[PATCH] D54599: [Profile] Avoid race condition when dumping GCDA files.
Marco Castelluccio via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 3 08:11:37 PST 2018
marco-c accepted this revision.
marco-c added inline comments.
This revision is now accepted and ready to land.
================
Comment at: lib/profile/InstrProfilingUtil.h:27
int lprofUnlockFd(int fd);
+int lprofOpenOrCreateFile(const char *filename, int *newfile);
+int lprofOpenFile(char *filename, int *newfile);
----------------
You could remove this from the header since it's only used by `lprofOpenFile`.
Repository:
rCRT Compiler Runtime
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54599/new/
https://reviews.llvm.org/D54599
More information about the llvm-commits
mailing list