Yes. I did not enable any level of compiler optimization.

________________________________
 From: David Faure <[email protected]>
To: [email protected]; Ganapathy Vijay 
<[email protected]> 
Sent: Wednesday, 3 April 2013 6:47 PM
Subject: Re: [Valgrind-users] Fw: valgrind on armv71 does not show point of 
allocation and deallocation
 
On Wednesday 03 April 2013 20:59:23 Ganapathy Vijay wrote:
> I have compiled this code with the arm linux cross compiler (ofcourse with
> -g).

Did you also disable optimizations? Make sure -O2 isn't in there.
Otherwise the call to free() can get inlined, for instance.

-- 
David Faure, [email protected], http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to