Re: -finstrument-functions and C++ exceptions

2005-04-13 Thread Andrew Pinski
On Apr 13, 2005, at 12:18 PM, Chris Kirby wrote: Are there any examples of wrapping a method with a try finally clause and calling a given method compatible with 3.4.2? Not that I know of, and when I asked RTH about this when he wrote the 4.0 code, he said there is no way. Anyways 4.0.0 has impr

Re: -finstrument-functions and C++ exceptions

2005-04-13 Thread Chris Kirby
At 10:08 AM 4/13/2005 -0400, Andrew Pinski wrote: >On Apr 13, 2005, at 10:06 AM, Chris Kirby wrote: > >>We are trying to use -finstrument-functions to do some custom profiling on >>x86 and ppc. >> >>For normal code execution, it works fine, calling our entry and exit methods >>as expected. >> >>

Re: -finstrument-functions and C++ exceptions

2005-04-13 Thread Andrew Pinski
On Apr 13, 2005, at 10:06 AM, Chris Kirby wrote: We are trying to use -finstrument-functions to do some custom profiling on x86 and ppc. For normal code execution, it works fine, calling our entry and exit methods as expected. Unfortunately, we are running into problems related to exceptions.

-finstrument-functions and C++ exceptions

2005-04-13 Thread Chris Kirby
We are trying to use -finstrument-functions to do some custom profiling on x86 and ppc. For normal code execution, it works fine, calling our entry and exit methods as expected. Unfortunately, we are running into problems related to exceptions. If we exit a function because of an exception,