summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2016-06-06 18:18:47 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2016-06-06 18:18:47 +0000
commit304b2c2a45213bb31f610d1c9d139ccb289bbe30 (patch)
treea08912e1e1291626782e17b9d2dc66d448de3e50 /clang
parent7a1bafd6ae6440a66099a6a07ec0736f27672a65 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud