[compiler-rt] r345571 - Handle NetBSD symbol mangling for tzset
Kamil Rytarowski via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 30 01:16:14 PDT 2018
Author: kamil
Date: Tue Oct 30 01:16:14 2018
New Revision: 345571
URL: http://llvm.org/viewvc/llvm-project?rev=345571&view=rev
Log:
Handle NetBSD symbol mangling for tzset
Native code generated on NetBSD mangles tzet to __tzset50.
Handle this accordingly in MSan.
Modified:
compiler-rt/trunk/lib/msan/msan_interceptors.cc
Modified: compiler-rt/trunk/lib/msan/msan_interceptors.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/msan/msan_interceptors.cc?rev=345571&r1=345570&r2=345571&view=diff
==============================================================================
--- compiler-rt/trunk/lib/msan/msan_interceptors.cc (original)
+++ compiler-rt/trunk/lib/msan/msan_interceptors.cc Tue Oct 30 01:16:14 2018
@@ -39,6 +39,7 @@
#define fstat __fstat50
#define gettimeofday __gettimeofday50
#define getrusage __getrusage50
+#define tzset __tzset50
#endif
#include <stdarg.h>
More information about the llvm-commits
mailing list