Re: Performer + Purify + DSO problem
Daniel C. Williams X-2453 (dcw++at++sarnoff.com)
Wed, 3 Jul 1996 17:16:06 -0400 (EDT)
According to Todd R Pravata:
>
>I say that the success is limited because purify does not understand
>Performer's use of shared memory (acreate and amalloc - please correct
>this if things have changed).
>
>--
>Todd Pravata
>todd.pravata++at++ti.com 214-575-6126
>Visual Simulation Lab, Texas Instruments
>
I get around this by creating a module with my own amalloc, acalloc, ... etc
functions. In each of these I compare the incoming arena pointer to that
returned by pfGetSharedArena(). If they are equal I call the non-shared
memory equivalent function, else I call the real function (_amalloc,
_acalloc, ...). When I want to use Purify I link with this module and make
sure to run in single process mode.
Dan
--
Daniel Williams, Independent Consultant
Voice: (215) 885-1573
Email: dcw++at++sarnoff.com, dan++at++sass.com
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ <--new!
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:53:09 PDT