Page MenuHomePhabricator

[asan] Fix an overflow with an Allocator constant

Authored by wang0109 on Jun 13 2016, 2:18 PM.



In asan on Windows 64-bit, this is one of the broken things
that makes allocation fail. "UL" is 32-bit and shift by 40 will make
the value overflow and become 0.

Event Timeline

wang0109 updated this revision to Diff 60608.Jun 13 2016, 2:18 PM
wang0109 retitled this revision from to [asan] Fix an overflow with an Allocator constant.
wang0109 updated this object.
wang0109 added reviewers: etienneb, rnk.
wang0109 added a subscriber: llvm-commits.
etienneb accepted this revision.Jun 14 2016, 7:49 AM
etienneb edited edge metadata.



This revision is now accepted and ready to land.Jun 14 2016, 7:49 AM
This revision was automatically updated to reflect the committed changes.