summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Memory.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-09-18 18:04:04 +0000
committerGreg Clayton <gclayton@apple.com>2012-09-18 18:04:04 +0000
commit43e0af06b4b69d784c87c4bfcaea01d825de1e65 (patch)
tree940b1223e3317439d1cbbd6e59f0421904d90c46 /lldb/source/Target/Memory.cpp
parent402edbbe3918277bfedbd9f138c16ac515d8d9ef (diff)
downloadbcm5719-llvm-43e0af06b4b69d784c87c4bfcaea01d825de1e65.tar.gz
bcm5719-llvm-43e0af06b4b69d784c87c4bfcaea01d825de1e65.zip
Stop using the "%z" size_t modifier and cast all size_t values to uint64_t. Some platforms don't support this modification.
llvm-svn: 164148
Diffstat (limited to 'lldb/source/Target/Memory.cpp')
-rw-r--r--lldb/source/Target/Memory.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lldb/source/Target/Memory.cpp b/lldb/source/Target/Memory.cpp
index 16fcdcafb96..a011bd25d66 100644
--- a/lldb/source/Target/Memory.cpp
+++ b/lldb/source/Target/Memory.cpp
@@ -68,14 +68,11 @@ MemoryCache::Flush (addr_t addr, size_t size)
else
num_cache_lines = (UINT64_MAX - first_cache_line_addr + 1)/cache_line_byte_size;
- //printf ("MemoryCache::Flush (0x%16.16llx, %zu (0x%zx))\n", addr, size, size);
-
uint32_t cache_idx = 0;
for (addr_t curr_addr = first_cache_line_addr;
cache_idx < num_cache_lines;
curr_addr += cache_line_byte_size, ++cache_idx)
{
- //printf ("flushing: 0x%16.16llx\n", curr_addr); /// REMOVE THIS PRIOR TO CHECKIN!!!!
BlockMap::iterator pos = m_cache.find (curr_addr);
if (pos != m_cache.end())
m_cache.erase(pos);
OpenPOWER on IntegriCloud