profiling objects (segmentation fault)

Mon, 15 Jul 2002 17:19:31 +0100

I know this has been discussed before, but I can't remember the 
conclusion and nothing seems to have
been done, so I am going to bring it up again.

Is there any way the compiler can mark object files with whether they 
are profiling or not, so that you cannot
link a profiled object with a non-profiled one. It seems quite bad that 
the program appears to compile and then
fails with a segmentation fault. Perhapse all profiling symbols could 
have "prof" appended - so they will not link
against non-profiling symbols of the same name?

    Keean Schupke.