Merge pull request #2932 from willisblackburn/bug_2930

Move AssignIds to before we print the info line…
This commit is contained in:
Bob Andrews
2026-02-28 00:14:48 +01:00
committed by GitHub

View File

@@ -113,6 +113,9 @@ void CreateDbgFile (void)
/* Output version information */
fprintf (F, "version\tmajor=2,minor=0\n");
/* Assign the ids to the items: this must occur before info, as it removes unused items */
AssignIds ();
/* Output a line with the item numbers so the debug info module is able
** to preallocate the required memory.
*/
@@ -131,9 +134,6 @@ void CreateDbgFile (void)
TypeCount ()
);
/* Assign the ids to the items */
AssignIds ();
/* Output high level language symbols */
PrintHLLDbgSyms (F);