[email protected] wrote: > However it is possible to pack the structs without holes... > > from gcc manual: > -------------------------------------------------- > -fpack-struct[=n] > Without a value specified, pack all structure members together > without holes. When a value is specified (which must be a small power > of two), pack structure members according to this value, representing > the maximum alignment (that is, objects with default alignment > requirements larger than this will be output potentially unaligned at > the next fitting location. > -------------------------------------------------- > > Would it be possible to introduce an eager checking mechanism which is > enabled by a command line option while running valgrind? or are there > other reasons why this is not done than the one explained in the FAQ? > If there are, what are they?
You're going to recompile glibc and all the other libraries that your program uses with that option are you? Tom -- Tom Hughes ([email protected]) http://www.compton.nu/ ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
