It is required for the Leak Sanitizer port to Windows.
The currently used unsigned long type is 64 bits wide on UNIX like systems but only 32 bits wide on Windows.
Because of that, the literal 8UL << 30 causes an integer overflow on Windows.
By changing the type of the literals to unsigned long long, we have consistent behavior and no overflows on all Platforms.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
S
If you asking then you unlikely have one. :) you can't push into git repo.
Someone else will need to commit patches for your, often reviewer.
I will do that.
Comment Actions
Do I have commit access, when I'm part of the LLVM GitHub Organization? I am for whatever reason a member :P