aboutsummaryrefslogtreecommitdiffstats
path: root/linker/linker_format.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix the duplication in the debugging code.Elliott Hughes2013-01-181-704/+0
| | | | | | | | | | | | | | | | | | | We had two copies of the backtrace code, and two copies of the libcorkscrew /proc/pid/maps code. This patch gets us down to one. We also had hacks so we could log in the malloc debugging code. This patch pulls the non-allocating "printf" code out of the dynamic linker so everyone can share. This patch also makes the leak diagnostics easier to read, and makes it possible to paste them directly into the 'stack' tool (by using relative PCs). This patch also fixes the stdio standard stream leak that was causing a leak warning every time tf_daemon ran. Bug: 7291287 Change-Id: I66e4083ac2c5606c8d2737cb45c8ac8a32c7cfe8
* Fix format_number.Elliott Hughes2012-12-201-48/+45
| | | | | | | I broke this the other day when silencing x86 gcc warnings. Bug: 7904160 Change-Id: I8e60cc1f8cbaff95248c8738d84e515413d839e4
* Fix x86 dynamic linker build.Elliott Hughes2012-12-181-3/+3
| | | | Change-Id: Ia9fc6342e3d409de86dcd187c7402e8ac2ae96c8
* Temporarily address gcc 4.7 breakage.Nick Kralevich2012-11-151-0/+4
| | | | Change-Id: I8ebb2d5df2f8f8aedf252c94ff69505e61ed0a74
* Make dynamic linker debugging always available.Elliott Hughes2012-11-021-4/+0
| | | | | | | If you need to build your own linker to get debugging, the debugging is never available when you need it. Change-Id: I5ff7e55753459d49a2990f25d9aa155e0b8602e0
* More dynamic linker cleanup.Elliott Hughes2012-10-301-0/+707
I still want to break linker_format out into its own library so we can reuse it for malloc debugging and so forth. (There are many similar pieces of code in bionic, but the linker's one seems to be the most complete/functional.) Change-Id: If3721853d28937c8e821ca1d23cf200e228a409a