Write out global symbols to the debug file. Added some fixes for unusual
situations (extern symbols without attached import, because the import wasn't referenced and therefore removed by the assembler). git-svn-id: svn://svn.cc65.org/cc65/trunk@5290 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -397,7 +397,7 @@ void Compile (const char* FileName)
|
||||
|
||||
|
||||
void FinishCompile (void)
|
||||
/* Emit literals, externals, do cleanup and optimizations */
|
||||
/* Emit literals, externals, debug info, do cleanup and optimizations */
|
||||
{
|
||||
SymTable* SymTab;
|
||||
SymEntry* Func;
|
||||
@@ -418,6 +418,9 @@ void FinishCompile (void)
|
||||
/* Output the literal pool */
|
||||
OutputLiteralPool ();
|
||||
|
||||
/* Emit debug infos if enabled */
|
||||
EmitDebugInfo ();
|
||||
|
||||
/* Write imported/exported symbols */
|
||||
EmitExternals ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user