diff options
author | Kostya Kortchinsky <kostyak@google.com> | 2017-11-09 21:26:07 +0000 |
---|---|---|
committer | Kostya Kortchinsky <kostyak@google.com> | 2017-11-09 21:26:07 +0000 |
commit | 9b44ad8cb235a91768b744f5e1d426e1aca98ae9 (patch) | |
tree | 6bda7df22897c0457ff15cfa4b7c9c6d68980727 /lib/sanitizer_common/sanitizer_win.cc | |
parent | 8630529c291d7974dca280343e1f73321b6c6ad8 (diff) | |
download | compiler-rt-9b44ad8cb235a91768b744f5e1d426e1aca98ae9.tar.gz |
[sanitizer] Revert rL317822
Summary:
This reverts D39490.
For toolchains generated with older NDKs (<=r13b as far as we tested),
`cpu_set_t` doesn't exist in `sched.h`.
We have to figure out another way to get the number of CPUs without this.
Reviewers: rnk
Reviewed By: rnk
Subscribers: kubamracek, llvm-commits, krytarowski
Differential Revision: https://reviews.llvm.org/D39867
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@317834 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_win.cc')
-rw-r--r-- | lib/sanitizer_common/sanitizer_win.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/sanitizer_common/sanitizer_win.cc b/lib/sanitizer_common/sanitizer_win.cc index 7a9a94780..1186971f7 100644 --- a/lib/sanitizer_common/sanitizer_win.cc +++ b/lib/sanitizer_common/sanitizer_win.cc @@ -1093,11 +1093,6 @@ bool GetRandom(void *buffer, uptr length, bool blocking) { UNIMPLEMENTED(); } -// FIXME: implement on this platform. -u32 GetNumberOfCPUs() { - UNIMPLEMENTED(); -} - } // namespace __sanitizer #endif // _WIN32 |