diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-06-06 18:18:47 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-06-06 18:18:47 +0000 |
commit | 304b2c2a45213bb31f610d1c9d139ccb289bbe30 (patch) | |
tree | a08912e1e1291626782e17b9d2dc66d448de3e50 /clang | |
parent | 7a1bafd6ae6440a66099a6a07ec0736f27672a65 (diff) | |
download | bcm5719-llvm-304b2c2a45213bb31f610d1c9d139ccb289bbe30.tar.gz bcm5719-llvm-304b2c2a45213bb31f610d1c9d139ccb289bbe30.zip |
[tsan] Switch to InternalAlloc everywhere __libc_malloc is currently used
This patch replaces all uses of __libc_malloc and friends with the internal allocator.
It seems that the only reason why we have calls to __libc_malloc in the first place was the lack of the internal allocator at the time. Using the internal allocator will also make sure that the system allocator is never used (this is the same behavior as ASan), and we don’t have to worry about working with unknown pointers coming from the system allocator.
Differential Revision: http://reviews.llvm.org/D21025
llvm-svn: 271916
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions