[PATCH] D84570: [tsan] Fix the open and open64 interceptors to have correct declarations (variadic functions)
Kuba (Brecka) Mracek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 30 18:14:26 PDT 2020
kubamracek added a comment.
> I can provide you access to a PPC64LE machine or I can check the details myself if you can tell me exactly what to do and how.
What I would like to look into is: Build and run the testcase from this patch (variadic-open.cpp) *without* TSan, check that the resulting file permissions are 0600. Then build llvm+compiler-rt on PPC64, and build and run the testcase with the just-built clang *with* TSan on, and that should result with the file permissions reported as 07777? Then try to revert the code change from this patch (from tsan_interceptors_posix.cpp) and re-build and re-run the testcase *with* TSan. Does it now work correctly (report 0600)?
Let me know if think sounds too time-consuming and I can certainly do that myself with a remote access to a machine :)
Thanks!!!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84570/new/
https://reviews.llvm.org/D84570
More information about the llvm-commits
mailing list