diff options
Diffstat (limited to 'lldb/source/Expression/IRMemoryMap.cpp')
-rw-r--r-- | lldb/source/Expression/IRMemoryMap.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Expression/IRMemoryMap.cpp b/lldb/source/Expression/IRMemoryMap.cpp index ef362baff16..53f74aebfed 100644 --- a/lldb/source/Expression/IRMemoryMap.cpp +++ b/lldb/source/Expression/IRMemoryMap.cpp @@ -74,15 +74,15 @@ IRMemoryMap::FindSpace (size_t size) { case 4: { - uint32_t random_data = random(); + uint32_t random_data = rand(); candidate = random_data; candidate &= ~0xfffull; break; } case 8: { - uint32_t random_low = random(); - uint32_t random_high = random(); + uint32_t random_low = rand(); + uint32_t random_high = rand(); candidate = random_high; candidate <<= 32ull; candidate |= random_low; |