Vitaly Buka
cb0e14ce6d
[sanitizer] Switch dlsym hack to internal_allocator
...
Since glibc 2.34, dlsym does
1. malloc 1
2. malloc 2
3. free pointer from malloc 1
4. free pointer from malloc 2
These sequence was not handled by trivial dlsym hack.
This fixes https://bugs.llvm.org/show_bug.cgi?id=52278
Reviewed By: eugenis, morehouse
Differential Revision: https://reviews.llvm.org/D112588
2021-11-12 16:11:10 -08:00
Vitaly Buka
1da33a51f1
[NFC][asan][memprov] Remove dlsym hack from posix_memalign
...
It was added for RTEMS which was removed at D104279.
2021-11-10 16:35:14 -08:00
Vitaly Buka
6478ef61b1
[asan] Remove Asan, Ubsan support of RTEMS and Myriad
...
Differential Revision: https://reviews.llvm.org/D104279
2021-06-15 12:59:05 -07:00
Vitaly Buka
b8919fb0ea
[NFC][sanitizer] clang-format some code
2021-06-14 18:05:22 -07:00
Kamil Rytarowski
85e578f53a
[compiler-rt] Replace INLINE with inline
...
This fixes the clash with BSD headers.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D87562
2020-09-17 16:24:20 +02:00
Vitaly Buka
6cf72ad3b3
[NFC][asan] Don't unwind stack before pool check
2020-08-28 02:00:35 -07:00
Vitaly Buka
c0fa632236
Remove NOLINTs from compiler-rt
...
llvm-svn: 371687
2019-09-11 23:19:48 +00:00
Nico Weber
217222abea
compiler-rt: Rename .cc file in lib/asan to .cpp
...
Like r367463, but for asan.
llvm-svn: 367558
2019-08-01 13:43:28 +00:00