Not part of build.

More verbose help text of these commands.
This commit is contained in:
blythe%netscape.com 2002-10-17 01:06:06 +00:00
parent ba71a85db8
commit aa02a2e8c8
5 changed files with 14 additions and 2 deletions

View File

@ -127,7 +127,7 @@ grep -vi $EXCLUDE_PATTERN_01 < $ALLFILES | grep -vi $EXCLUDE_PATTERN_02 > $THEFI
#
# Produce the cumulative nm output.
# We are very particular on what switches to use.
# nm --format=bsd --size-sort --print-file-name
# nm --format=bsd --size-sort --print-file-name --demangle
#
NMRESULTS="$TMPDIR/nm.txt"
xargs -n 1 nm --format=bsd --size-sort --print-file-name --demangle < $THEFILES > $NMRESULTS 2> /dev/null

View File

@ -600,6 +600,8 @@ void showHelp(Options* inOptions)
printf("\t %s%s", gSwitches[loop]->mShortName, valueText);
printf(DESC_NEWLINE "%s\n\n", gSwitches[loop]->mDescription);
}
printf("This tool takes a tsv file and reports composite code and data sizes.\n");
}

View File

@ -1018,6 +1018,9 @@ void showHelp(Options* inOptions)
printf("\t %s%s", gSwitches[loop]->mShortName, valueText);
printf(DESC_NEWLINE "%s\n\n", gSwitches[loop]->mDescription);
}
printf("This tool takes the diff of two sorted tsv files to form a summary report\n");
printf("of code and data size changes which is hoped to be human readable.\n");
}

View File

@ -1118,6 +1118,8 @@ void showHelp(Options* inOptions)
printf("\t %s%s", gSwitches[loop]->mShortName, valueText);
printf(DESC_NEWLINE "%s\n\n", gSwitches[loop]->mDescription);
}
printf("This tool normalizes MS linker .map files for use by other tools.\n");
}

View File

@ -139,7 +139,7 @@ int nm2tsv(Options* inOptions)
** Output tab seperated value data.
**
** We expect our data to be in a particular format.
** nm --format=bsd --size-sort --print-file-name
** nm --format=bsd --size-sort --print-file-name --demangle
*/
{
int retval = 0;
@ -472,6 +472,11 @@ void showHelp(Options* inOptions)
printf("\t %s%s", gSwitches[loop]->mShortName, valueText);
printf(DESC_NEWLINE "%s\n\n", gSwitches[loop]->mDescription);
}
printf("This tool normalizes nm output for use by other tools.\n");
printf("GNU nm is assumed for symbol type determination.\n");
printf("i.e. Use this tool to parse the output of:\n");
printf("\t/usr/bin/nm --format=bsd --size-sort --print-file-name --demangle <exefile>\n");
}