mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Not part of build.
More verbose help text of these commands.
This commit is contained in:
parent
ba71a85db8
commit
aa02a2e8c8
@ -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
|
||||
|
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user