|
From: Duncan S. <bal...@fr...> - 2005-05-19 08:24:19
|
> >> Right. Unfortunately you've hit a dark corner of Valgrind that doesn't > >> work very well. > > > > By the way, local procedures are much more widely used in a language > > like Ada, than in C. > > I guess Ada-interoperability is a dark corner, then :) You're only the > second person I recall being stung by this. The pain is real though... Person number two humbly asks if anything can be done. > > As a data point, I ran all the ACATS tests (see the gcc testsuite/ada > > directory) under valgrind, and the majority of failures were spurious, > > coming from the trampoline problem. On the other hand, there are about > > 1800 tests, and only about 50 triggered the trampoline problem (I don't > > recall the exact number), so it's not that common either. > > That's good to know; thanks for the data point. It's going to get worse though - the latest language revision adds a container library that pretty much requires taking pointers to local subroutines. That's the reason this kind of thing is spreading through my code right now. This will also be the case for other Ada users. I know we are not so numerous, but we certainly exist :) Best wishes, Duncan. |