/*****************************************************************************/
-/* Data */
+/* Forwards */
/*****************************************************************************/
+struct Segment;
+
+
+
+/*****************************************************************************/
+/* Data */
+/*****************************************************************************/
+
+
+
+typedef struct CodeRange CodeRange;
+struct CodeRange {
+ unsigned long Offs;
+ unsigned long Size;
+};
+
+
+
typedef struct LineInfo LineInfo;
struct LineInfo {
- FilePos Pos; /* File position */
- Collection Fragments; /* Fragments for this line */
+ struct FileInfo* File; /* File struct for this line */
+ FilePos Pos; /* File position */
+ Collection Fragments; /* Fragments for this line */
+ Collection CodeRanges; /* Code ranges for this line */
};
LineInfo* ReadLineInfo (FILE* F, ObjData* O);
/* Read a line info from a file and return it */
+void RelocLineInfo (struct Segment* S);
+/* Relocate the line info for a segment. */
+
/* End of lineinfo.h */