[PATCH] D39490: [scudo] Make getNumberOfCPUs Fuchsia compliant

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 6 08:06:31 PST 2017


cryptoad requested changes to this revision.
cryptoad added a comment.
This revision now requires changes to proceed.

Thanks for the updates!
Now a test fail to compile (`Sanitizer-x86_64-Test-Nolibc`) with:

  sanitizer_linux.cc:1849: undefined reference to `sched_getaffinity'
  sanitizer_linux.cc:1850: undefined reference to `__sched_cpucount'

I guess two solutions: either move it to the libcdep cc, which shouldn't be an issue as the consumers will most likely be libc dependent, or redo that part in a libc-free way!


Repository:
  rL LLVM

https://reviews.llvm.org/D39490





More information about the llvm-commits mailing list