summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2014-12-02 17:30:19 +0000
committerJF Bastien <jfb@google.com>2014-12-02 17:30:19 +0000
commitb1ba015b9f9e4d2c4d2a5fe6ea8dc5580a391df1 (patch)
tree017add10b3f2ca5cabdac1cecb5f9edd80f0bd86 /llvm/lib/DebugInfo
parent57f033a0245483312fb4eb4fcbb32403057d1f7f (diff)
downloadbcm5719-llvm-b1ba015b9f9e4d2c4d2a5fe6ea8dc5580a391df1.tar.gz
bcm5719-llvm-b1ba015b9f9e4d2c4d2a5fe6ea8dc5580a391df1.zip
libc++: support NaCl when building thread.cpp
Summary: NaCl shouldn't include sysctl.h when trying to determine std::thread::hardware_concurrency, it should instead use sysconf(_SC_NPROCESSORS_ONLN) through unistd.h. No test needs to be changed, since hardware_concurrency.pass.cpp already tests that std::thread::hardware_concurrency > 0. Test Plan: make check-libcxx Reviewers: dschuff, danalbert Subscribers: jfb, cfe-commits Differential Revision: http://reviews.llvm.org/D6470 llvm-svn: 223128
Diffstat (limited to 'llvm/lib/DebugInfo')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud