5 Commits

Author SHA1 Message Date
Tor Lillqvist
bc4c2098a6 Improve command line handling, don't read stdin
Reading stdin is confusing as it means running the script without any
arguments and with no input redirection just seems to do
nothing. (OTOH, who would use this script except seasoned hackers who
know how command-line tools typically work... oh well.)

Change-Id: I00b4f70b07b6515b52a22b4ec4e048cc84c1dc83
2014-04-25 11:05:41 +03:00
Tor Lillqvist
848e1ca01a Add help message
Change-Id: Id9c5dfdee00c8b9baa21c7345f7218e982bfd434
2014-04-25 11:05:16 +03:00
Tor Lillqvist
5743570619 Add -f option to filter in symbols from some libraries only
You can specify a regular expression for the -f option, typically
several library names combined with the '|' operator, as in:

bin/ios-mapfile-statistics -s -f 'libswlo|libsclo' <workdir/TiledLibreOffice.map|c++filt

Change-Id: I917fc392a41ed28c6b19ec5c2c16384d1186a532
2014-04-25 10:24:12 +03:00
Tor Lillqvist
48201fc93d Add -s option to show a sorted list of symbols by size instead
Change-Id: I2c6c46f4f570f4999154daa7e0f84f6ecd6f2d79
2014-04-25 09:28:15 +03:00
Tor Lillqvist
613699ebaf Script to postprocess linker map files for iOS a bit
Show the total size of code and data linked in from each library.

Change-Id: Ibd6e0e15259f338addc30f2d821c794d65676637
2014-04-22 18:33:53 +03:00