aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/TargetParser.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2020-10-15 10:32:09 -0400
committerLouis Dionne <ldionne@apple.com>2020-10-15 12:20:29 -0400
commite0d01294bc124211a8ffb55e69162eb34a242680 (patch)
tree02d37fe1af057c764dab596a0b28c397863d7833 /llvm/lib/Support/TargetParser.cpp
parente9df9028a7ca67dc6198108e6ea621cb554aa3c7 (diff)
downloadllvm-e0d01294bc124211a8ffb55e69162eb34a242680.zip
llvm-e0d01294bc124211a8ffb55e69162eb34a242680.tar.gz
llvm-e0d01294bc124211a8ffb55e69162eb34a242680.tar.bz2
[libc++] Allow building libc++ on platforms without a random device
Some platforms, like several embedded platforms, do not provide a source of randomness through a random device. This commit makes it possible to build and test libc++ for such platforms, i.e. without std::random_device. Surprisingly, the only functionality that doesn't work on such platforms is std::random_device itself -- everything else in <random> still works, one just has to find alternative ways to seed the PRNGs.
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions