[compiler-rt] r323019 - Support the localtime interceptor for NetBSD
Kamil Rytarowski via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 19 16:40:29 PST 2018
Author: kamil
Date: Fri Jan 19 16:40:29 2018
New Revision: 323019
URL: http://llvm.org/viewvc/llvm-project?rev=323019&view=rev
Log:
Support the localtime interceptor for NetBSD
Summary:
The localtime symbol is mangled to __locatime50
on NetBSD.
Sponsored by <The NetBSD Foundation>
Reviewers: joerg, vitalybuka
Reviewed By: vitalybuka
Subscribers: kubamracek, llvm-commits, #sanitizers
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D42045
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc?rev=323019&r1=323018&r2=323019&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc Fri Jan 19 16:40:29 2018
@@ -88,6 +88,7 @@
#define glob __glob30
#define gmtime __gmtime50
#define gmtime_r __gmtime_r50
+#define localtime __locatime50
#define localtime_r __localtime_r50
#define mktime __mktime50
#define opendir __opendir30
More information about the llvm-commits
mailing list