diff options
author | Louis Dionne <ldionne@apple.com> | 2020-10-15 10:32:09 -0400 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2020-10-15 12:20:29 -0400 |
commit | e0d01294bc124211a8ffb55e69162eb34a242680 (patch) | |
tree | 02d37fe1af057c764dab596a0b28c397863d7833 /llvm/lib/Support/TargetParser.cpp | |
parent | e9df9028a7ca67dc6198108e6ea621cb554aa3c7 (diff) | |
download | llvm-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