summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2019-10-25 17:46:43 -0700
committerRyan Prichard <rprichard@google.com>2019-10-25 17:46:43 -0700
commit78cd2834807c0fbf5788b68ba96675ef79dd5920 (patch)
treebc9758f869562e073a260283cfc4bf509944a400 /libc/malloc_debug/malloc_debug.cpp
parent04f27f23dc23b9d7924904161dac37266b42d660 (diff)
linker: remove COUNT_PAGES
COUNT_PAGES tries to count the pages dirtied by relocations, but this implementation is broken because it's merging rel->r_offset values from multiple DSOs. The functionality is hard to use, because it requires rebuilding the linker, and it's not obvious to me that it should belong in the linker. If we do want it, we should make it work without rebuilding the linker. Similar information can currently be collected by parsing the result of `readelf -r` on a binary (or a set of binaries). Bug: none Test: m linker libc com.android.runtime ; adb sync ; run something Change-Id: I760fb6ea4ea3d1927eb5145cdf4ca133851d69b4
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions