Debug info: Make file info ids continous. Output modules that use a file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5128 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -57,11 +57,11 @@
|
||||
|
||||
typedef struct FileInfo FileInfo;
|
||||
struct FileInfo {
|
||||
unsigned Id; /* Id of file for debug info */
|
||||
unsigned Name; /* File name index */
|
||||
unsigned long MTime; /* Time of last modification */
|
||||
unsigned long Size; /* Size of the file */
|
||||
unsigned Id; /* Id of file for debug info */
|
||||
unsigned Dumped; /* Flag: Dumped to debug info file */
|
||||
Collection Modules; /* Modules that use this file */
|
||||
};
|
||||
|
||||
|
||||
@@ -75,6 +75,9 @@ struct FileInfo {
|
||||
FileInfo* ReadFileInfo (FILE* F, ObjData* O);
|
||||
/* Read a file info from a file and return it */
|
||||
|
||||
void AssignFileInfoIds (void);
|
||||
/* Assign the ids to the file infos */
|
||||
|
||||
void PrintDbgFileInfo (FILE* F);
|
||||
/* Output the file info to a debug info file */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user