This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC] Deprecating mtrace?
- From: Florian Weimer <fweimer at redhat dot com>
- To: OndÅej BÃlka <neleai at seznam dot cz>, Fabrice Bauzac <libnoon at gmail dot com>
- Cc: ams at gnu dot org, joseph at codesourcery dot com, libc-alpha at sourceware dot org
- Date: Mon, 04 Nov 2013 10:44:48 +0100
- Subject: Re: [RFC] Deprecating mtrace?
- Authentication-results: sourceware.org; auth=none
- References: <20131103185737 dot GA29145 at domone dot podge> <Pine dot LNX dot 4 dot 64 dot 1311031859260 dot 16907 at digraph dot polyomino dot org dot uk> <20131103191754 dot GA29265 at domone dot podge> <E1Vd3d0-0005vw-59 at fencepost dot gnu dot org> <20131103220632 dot GC29825 at domone dot podge> <E1Vd7xe-0002K3-Pi at fencepost dot gnu dot org> <CAB6Q1a_a-Ko3jUowbp4A3QGYkWAxT-Ch4AL0BzZA-eD+QScB6w at mail dot gmail dot com> <20131104093404 dot GA4985 at domone dot podge>
On 11/04/2013 10:34 AM, OndÅej BÃlka wrote:
$ time valgrind gcc -O3 m.c -fPIC -shared
This runs valgrind on the compiler driver.
LD_PRELOAD=./m.so MALLOC_TRACE=x time gcc -O3 m.c -fPIC -shared
This enables mtrace for the compiler driver and compiler, assembler, and
linker.
--
Florian Weimer / Red Hat Product Security Team