Remember where each symbol was defined and where it was referenced. Write this

information to the object file.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5213 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-08-18 16:25:58 +00:00
parent 2f9e7d2ca0
commit c52916f461
4 changed files with 78 additions and 35 deletions

View File

@@ -89,7 +89,8 @@ struct SymEntry {
struct SymTable* Tab; /* Table this symbol is in */
struct SymEntry* Entry;
} Sym;
Collection LineInfos; /* Line infos for this symbol */
Collection DefLines; /* Line infos for definition */
Collection RefLines; /* Line infos for references */
FilePos* GuessedUse[1]; /* File position where symbol
* address size was guessed, and the
* smallest possible addressing was NOT