This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Allow trampoline allocation further and 1 gig.
ClosedPublic

Authored by etienneb on Jul 18 2016, 12:32 PM.

Details

Summary

The trampoline allocation limits the memory scanning to 1 gig.
There is an unittest that is allocating a large object which make
it impossible to the trampoline allocator to find a free spot.

see shadow_mapping_failures:

char bigchunk[1 << 30];

This patch is not fixing the unittest but it's fixing it's infinite
loop behavior.

Diff Detail

Event Timeline

etienneb updated this revision to Diff 64361.Jul 18 2016, 12:32 PM
etienneb retitled this revision from to [compiler-rt] Allow trampoline allocation further and 1 gig..
etienneb updated this object.
etienneb added a reviewer: rnk.
rnk accepted this revision.Jul 18 2016, 12:35 PM
rnk edited edge metadata.

lgtm

This revision is now accepted and ready to land.Jul 18 2016, 12:35 PM
etienneb closed this revision.Jul 18 2016, 12:40 PM