Output spans to the debug info file.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5152 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-08-11 17:11:45 +00:00
parent 3e6f9a212b
commit b4967d359f
4 changed files with 72 additions and 10 deletions

View File

@@ -64,6 +64,7 @@ struct Segment;
typedef struct Span Span;
struct Span {
unsigned Id; /* Id of the span */
struct Segment* Seg; /* Segment of this span */
unsigned long Offs; /* Offset of span within segment */
unsigned long Size; /* Size of span */
@@ -95,6 +96,12 @@ void AddSpan (Collection* Spans, struct Segment* Seg, unsigned long Offs,
* possible - merge it with adjacent ones that already exist.
*/
unsigned SpanCount (void);
/* Return the total number of spans */
void PrintDbgSpans (FILE* F);
/* Output the spans to a debug info file */
/* End of span.h */