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.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D15297
[tsan] Use REAL(malloc) instead of __libc_malloc for Android. ClosedPublic Authored by yabinc on Dec 7 2015, 12:05 PM.
Details Summary Android doesn't have libc_malloc and related allocation
Diff Detail Event TimelineHerald added subscribers: srhines, danalbert, tberghammer. · View Herald TranscriptDec 7 2015, 12:05 PM This revision is now accepted and ready to land.Dec 8 2015, 8:05 AM
Revision Contents
Diff 42089 lib/tsan/rtl/tsan_interceptors.cc
lib/tsan/rtl/tsan_new_delete.cc
|