diff options
author | Yabin Cui <yabinc@google.com> | 2015-12-09 22:32:38 +0000 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2015-12-09 22:32:38 +0000 |
commit | 4ddbe8508a0bb7b3b5bcf892034594a29292bd36 (patch) | |
tree | e390c4a1eaaa60df6aef3031c9d0fbee73aac18d /llvm/lib/CodeGen/MachineTraceMetrics.cpp | |
parent | 02b8e94943ca216ca9df313fd076c3e7a2d29448 (diff) | |
download | bcm5719-llvm-4ddbe8508a0bb7b3b5bcf892034594a29292bd36.tar.gz bcm5719-llvm-4ddbe8508a0bb7b3b5bcf892034594a29292bd36.zip |
[tsan] Use REAL(malloc) instead of __libc_malloc for Android.
Summary:
Android doesn't have __libc_malloc and related allocation
functions. As its dynamic linker doesn't use malloc, so
we can use REAL(malloc) to replace __libc_malloc safely.
Reviewers: kcc, eugenis, dvyukov
Subscribers: llvm-commits, tberghammer, danalbert, srhines
Differential Revision: http://reviews.llvm.org/D15297
llvm-svn: 255167
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions