[asan_build] Enable asaned glibc work.
authorDenis Khalikov <d.khalikov@partner.samsung.com>
Tue, 26 Sep 2017 18:51:35 +0000 (21:51 +0300)
committerSlava Barinov <v.barinov@samsung.com>
Thu, 24 Oct 2019 08:49:48 +0000 (11:49 +0300)
commit5ca0cbf8c158a3822ae071cad77fe533c11a658c
tree8d6c900895b4dbaa25c490d042b89885e55d5f59
parentc0944900de254d4f0fba3aca8a482b364f0d7b24
[asan_build] Enable asaned glibc work.

Modify GetPageSize () function to return
4096 for arm and arch64 architectures. We can
not call sysconf from libc befor libc is inited.

Mark libasan as initfirst, in this case "patched" rtld
will be able to initiazlie libasan before libc.so

Change-Id: I56a582fdeafcf55b9dbab8fcd1b39be850cccc04
libsanitizer/asan/Makefile.am
libsanitizer/asan/Makefile.in
libsanitizer/asan/asan_linux.cc
libsanitizer/sanitizer_common/sanitizer_linux.cc
packaging/gcc-aarch64.spec
packaging/gcc-armv7l.spec
packaging/linaro-gcc.spec