Go to file
Arnaldo Carvalho de Melo afb41b16f9 [PAHOLE]: Improve multi-CU processing
Simplifying options processing by using just pair of cu and class iterators and
using the list we were building just for --total_structure_stats for all
options, this way we don't print multiple times structures that are defined in
more than one object file when processing a multi-object file.

With this in place all the options will check if a struct definition in one
object file somehow doesn't matches the same struct definition in some other
object file, more checks will be put in place in the upcoming csets.

And, to show that this besides simplifying reduces the code size, lets use
codiff:

[acme@newtoy pahole]$ codiff build/pahole.before build/pahole
/home/acme/pahole/pahole.c:
  structures__add | -143
  class__filter   | +147
  main            | -263
 3 functions changed, 147 bytes added, 406 bytes removed
[acme@newtoy pahole]$

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2006-12-18 10:47:39 -02:00
cmake/modules [MAKEFILE]: Use cmake in the build process 2006-12-12 00:37:23 -02:00
CMakeLists.txt [MAKEFILE]: Use cmake in the build process 2006-12-12 00:37:23 -02:00
README [MAKEFILE]: Use cmake in the build process 2006-12-12 00:37:23 -02:00
classes.c [CLASSES]: Remove newlines at the end of class__print 2006-12-18 10:20:57 -02:00
classes.h [CLASSES]: Constify print routines class parameter 2006-12-18 09:29:41 -02:00
codiff.c [CLASSES]: Make cu__for_each_class receive a filter 2006-12-01 00:00:24 -02:00
list.h Repository creation. 2006-10-24 20:42:39 -03:00
pahole.c [PAHOLE]: Improve multi-CU processing 2006-12-18 10:47:39 -02:00
pfunct.c [CLASSES]: Make cus__for_each_cu receive an optional filter 2006-11-30 23:48:34 -02:00
prefcnt.c [CLASSES]: Make cu__for_each_class receive a filter 2006-12-01 00:00:24 -02:00

README

Build instructions:

1. install cmake
2. mkdir build
3. cd build
4. cmake ..
5. make