[llvm-commits] [PATCH][asan] %zu/%zx in asan-internal Printf()
eugeni.stepanov at gmail.com
Wed Mar 21 01:24:50 CDT 2012
On Wed, Mar 21, 2012 at 2:35 AM, Joerg Sonnenberger
<joerg at britannica.bec.de> wrote:
> On Tue, Mar 20, 2012 at 09:23:57AM -0700, Kostya Serebryany wrote:
>> The patch itself is fine, but I still don't understand why we need it.
>> Is that just to avoid confusion? (%zu confuses me much more than %lu)
>> Or you expect this to be actually required in some cases (or on some
> Win64 is IL32LL64, isn't it?
Yes. You can not print a pointer with "%lu" there. You could with our
implementation of Printf, and that's exactly the sort of confusion I'm
trying to fix.
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
More information about the llvm-commits