#include "llvm/Support/RandomNumberGenerator.h"
#include "DebugOptions.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/raw_ostream.h"
#ifdef _WIN32
#include "llvm/Support/Windows/WindowsSupport.h"
#else
#include "Unix/Unix.h"
#endif
usingnamespacellvm;
#define DEBUG_TYPE …
namespace {
struct CreateSeed { … };
}
static ManagedStatic<cl::opt<uint64_t>, CreateSeed> Seed;
void llvm::initRandomSeedOptions() { … }
RandomNumberGenerator::RandomNumberGenerator(StringRef Salt) { … }
RandomNumberGenerator::result_type RandomNumberGenerator::operator()() { … }
std::error_code llvm::getRandomBytes(void *Buffer, size_t Size) { … }