[LLDB] Silence warnings in cli-wrapper-mpxtable.cpp

cli-wrapper-mpxtable.cpp was emitting warnings from printfs of
uint64_t on 32 bit arm build. This patch makes affected printfs
in cli-wrapper-mpxtable.cpp portable accross targets variants.
This commit is contained in:
Muhammad Omair Javaid 2021-06-28 01:18:58 +00:00
parent 2ddca686ee
commit 0f32d0034c

View file

@ -64,12 +64,12 @@ static void PrintBTEntry(lldb::addr_t lbound, lldb::addr_t ubound,
const lldb::addr_t one_cmpl32 = ~((uint32_t)0);
if ((lbound == one_cmpl64 || one_cmpl32) && ubound == 0) {
result.Printf("Null bounds on map: pointer value = 0x%lx\n", value);
result.Printf("Null bounds on map: pointer value = 0x%" PRIu64 "\n", value);
} else {
result.Printf(" lbound = 0x%lx,", lbound);
result.Printf(" ubound = 0x%lx", ubound);
result.Printf(" (pointer value = 0x%lx,", value);
result.Printf(" metadata = 0x%lx)\n", meta);
result.Printf(" lbound = 0x%" PRIu64 ",", lbound);
result.Printf(" ubound = 0x%" PRIu64 , ubound);
result.Printf(" (pointer value = 0x%" PRIu64 ",", value);
result.Printf(" metadata = 0x%" PRIu64 ")\n", meta);
}
}