HomePhabricator

[LoopInfo] Don't poison random memory regions.

Description

[LoopInfo] Don't poison random memory regions.

The second argument for Allocator::Deallocate is the number of elements,
not the size of a single element. In asan mode specifying a large number
of elements poisoned random memory regions, leading to crashes
everywhere.

Details

Committed
d0kSep 28 2017, 5:53 AM
Parents
rL314412: Fix the build after r314375
Branches
Unknown
Tags
Unknown