summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_win.cc
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2017-11-09 21:26:07 +0000
committerKostya Kortchinsky <kostyak@google.com>2017-11-09 21:26:07 +0000
commit9b44ad8cb235a91768b744f5e1d426e1aca98ae9 (patch)
tree6bda7df22897c0457ff15cfa4b7c9c6d68980727 /lib/sanitizer_common/sanitizer_win.cc
parent8630529c291d7974dca280343e1f73321b6c6ad8 (diff)
downloadcompiler-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.cc5
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