[PATCH] D40657: [sanitizer] Introduce a vDSO aware time function, and use it in the allocator

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 30 12:29:00 PST 2017


krytarowski added a comment.

In https://reviews.llvm.org/D40657#940974, @cryptoad wrote:

> @krytarowski: so directly call the syscall on NetBSD or is there a possible performance gain calling the libc function as opposed to the syscall?


Just call the syscall for NetBSD. "clock_gettime" under mangled name "__clock_gettime50".


https://reviews.llvm.org/D40657





More information about the llvm-commits mailing list