Extend the map file to include a table of exports sorted by value.

This commit is contained in:
Christian Groessler
2014-03-20 02:01:21 +01:00
parent 82f47cea4a
commit d72e62cae2
3 changed files with 72 additions and 8 deletions

View File

@@ -111,11 +111,17 @@ void CreateMapFile (int ShortMap)
/* The remainder is not written for short map files */
if (!ShortMap) {
/* Write the exports list */
/* Write the exports list by name */
fprintf (F, "\n\n"
"Exports list:\n"
"-------------\n");
PrintExportMap (F);
"Exports list by name:\n"
"---------------------\n");
PrintExportMapByName (F);
/* Write the exports list by value */
fprintf (F, "\n\n"
"Exports list by value\n"
"---------------------\n");
PrintExportMapByValue (F);
/* Write the imports list */
fprintf (F, "\n\n"