On 07/22/2014 06:04 PM, Xinliang David Li wrote: > Please take a look the updated patch. It addresses the issue of using > dlclose before dump, and potential races (between a thread closing a > library and the dumper call). > > David > > On Sun, Jul 20, 2014 at 11:12 PM, Nathan Sidwell <nat...@acm.org> wrote: >> On 07/20/14 21:38, Xinliang David Li wrote: >>> >>> The gcov_info chain is not duplicated -- there is already one chain >>> (linking only modules of the library) per shared library in current >>> implementation. My change does not affect underlying behavior at all >>> -- it merely introduces a new interface to access private dumper >>> methods associated with shared libs. >> >> >> ah, got it. thanks for clarifying. Can't help thinking gcov_init should be >> doing this, and wondering about dlload/dlclose. Let me think >> >> nathan
Hi. Unfortunately, it looks the patch hasn't been installed to trunk. Some folks from Firefox are interested in that. Are you Nathan OK with the patch? I guess a rebase will be needed. Martin