More work on high level language debug symbols. They are now passed correctly
via the object files to the linker and written to the debug info file. git-svn-id: svn://svn.cc65.org/cc65/trunk@5285 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -74,6 +74,7 @@ struct ObjData {
|
||||
unsigned long Start; /* Start offset of data in library */
|
||||
unsigned Flags;
|
||||
|
||||
unsigned HLLSymBaseId; /* Debug info base id for hll symbols */
|
||||
unsigned SymBaseId; /* Debug info base id for symbols */
|
||||
unsigned ScopeBaseId; /* Debug info base id for scopes */
|
||||
unsigned SpanBaseId; /* Debug info base id for spans */
|
||||
@@ -83,6 +84,7 @@ struct ObjData {
|
||||
Collection Exports; /* List of all exports */
|
||||
Collection Imports; /* List of all imports */
|
||||
Collection DbgSyms; /* List of debug symbols */
|
||||
Collection HLLDbgSyms; /* List of hll debug symbols */
|
||||
Collection LineInfos; /* List of line infos */
|
||||
unsigned StringCount; /* Count of strings */
|
||||
unsigned* Strings; /* List of global string indices */
|
||||
@@ -156,6 +158,9 @@ struct Import* GetObjImport (const ObjData* Obj, unsigned Id);
|
||||
struct Export* GetObjExport (const ObjData* Obj, unsigned Id);
|
||||
/* Get an export from an object file checking for a valid index */
|
||||
|
||||
struct DbgSym* GetObjDbgSym (const ObjData* Obj, unsigned Id);
|
||||
/* Get a debug symbol from an object file checking for a valid index */
|
||||
|
||||
struct Scope* GetObjScope (const ObjData* Obj, unsigned Id);
|
||||
/* Get a scope from an object file checking for a valid index */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user