[Lldb-commits] [lldb] r202738 - "size_t" isn't always 64 bit, it is 32 bit on 32 bit systems. All printf style statements that were assuming size_t were 64 bit were changed, and they were also changed to display them as unsigned values as "size_t" isn't signed.

Joerg Sonnenberger joerg at britannica.bec.de
Mon Mar 3 12:27:08 PST 2014


On Mon, Mar 03, 2014 at 07:15:21PM -0000, Greg Clayton wrote:
> If you print anything with 'size_t', please cast it to "uint64_t" in the printf and use PRIu64 or PRIx64.

Why not use the correct %zu / %zd specifier?

Joerg



More information about the lldb-commits mailing list