[PATCH] D40898: [Sanitizers] Basic sanitizer Solaris support (PR 33274)
Rainer Orth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 12 06:26:00 PST 2017
ro marked 7 inline comments as done.
ro added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_linux_libcdep.cc:615
+#elif SANITIZER_SOLARIS
+ return sysconf(_SC_NPROCESSORS_ONLN);
#else
----------------
alekseyshl wrote:
> So, it does not allocate memory on Solaris?
I've checked the OpenSolaris sources: it just calls an
internal/undocumented _sysconfig syscall and passes on
the result.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D40898
More information about the llvm-commits
mailing list