[compiler-rt] Allow trampoline allocation further and 1 gig.
authorEtienne Bergeron <etienneb@google.com>
Mon, 18 Jul 2016 19:33:05 +0000 (19:33 +0000)
committerEtienne Bergeron <etienneb@google.com>
Mon, 18 Jul 2016 19:33:05 +0000 (19:33 +0000)
commitd61042b5490ce4b65b0ec6a832b24bacf58af2e6
tree89ad72e89c10eedddee275af0dc8074ad6f15b0a
parent8ff8fdf4d4e0b89640fda635ed791821e39a33b4
[compiler-rt] Allow trampoline allocation further and 1 gig.

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.

Reviewers: rnk

Subscribers: llvm-commits, wang0109, chrisha

Differential Revision: https://reviews.llvm.org/D22471

llvm-svn: 275887
compiler-rt/lib/interception/interception_win.cc