[asan] initialize kHighMemEnd at startup (instead of at compile time) to simplify...
authorKostya Serebryany <kcc@google.com>
Wed, 23 Jan 2013 13:27:43 +0000 (13:27 +0000)
committerKostya Serebryany <kcc@google.com>
Wed, 23 Jan 2013 13:27:43 +0000 (13:27 +0000)
commit8f267137c21cb984c84268f64a5782eb9699004c
tree3f5406e63ee7ed43d70bd14959f855fbfd8acf2d
parent420d7d333e593320613889eadb66bfe16b591908
[asan] initialize kHighMemEnd at startup (instead of at compile time) to simplify further changes for various address space layouts. Fix asan_allocator2 for PowerPC (tested on 44-bit address space)

llvm-svn: 173260
compiler-rt/lib/asan/asan_allocator2.cc
compiler-rt/lib/asan/asan_mapping.h
compiler-rt/lib/asan/asan_rtl.cc
compiler-rt/lib/asan/tests/asan_noinst_test.cc