[PATCH] D53806: Handle NetBSD symbol mangling for nanosleep and vfork
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 30 01:09:59 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL345570: Handle NetBSD symbol mangling for nanosleep and vfork (authored by kamil, committed by ).
Herald added a subscriber: delcypher.
Changed prior to commit:
https://reviews.llvm.org/D53806?vs=171461&id=171644#toc
Repository:
rL LLVM
https://reviews.llvm.org/D53806
Files:
compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc
Index: compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc
===================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc
@@ -53,6 +53,8 @@
#define stdout ((char*)&__sF + (__sF_size * 1))
#define stderr ((char*)&__sF + (__sF_size * 2))
+#define nanosleep __nanosleep50
+#define vfork __vfork14
#endif
#if SANITIZER_ANDROID
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53806.171644.patch
Type: text/x-patch
Size: 448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181030/62eeb7bb/attachment.bin>
More information about the llvm-commits
mailing list