Object file debug symbols

Object file debug symbols

I have inherited an application that reads the object file generated by the CVF 6.0A compiler to access the offset of static variables declared within a FORTRAN subroutine. The structure being read from the ?.debug$S? section of the object file looks like this.

typedef struct LDATA32_ENTRY_S
{
DWORD dwType;
DWORD dwOffset;
WORD wSegment;
BYTE cStringLength;
} LDATA32_ENTRY_T, *P_LDATA32_ENTRY_T;

Unfortunately sometime over the last year migrating from NT4.0 to W2K SP1 and SP5 for Dev Studio the dwOffset field is no longer accurately containing a valid offset for several (but not all) static variables within the subroutine. What we are seeing is that some variables are showing with the same offset as others?

Any ideas anyone?

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.