We are using the SGI Pro64 compiler version 0.01.0-12 and are mainly
interested in the intermediate representation produced by the compiler.
We need to make certain changes in a sample source code based on the
information provided by the intermediate representation.
We are not able to get the proper source position information of a statement
node. We have used the APIs provided in the file srcpos.h. Although we are
getting proper line number information, the column number information is
incorrect (it is always 0). We also tried having 2 statements on the same
line.
Any help in this regard would be greatly appreciated.
Thanks in advance
Rajalakshmi Iyer
Member of Technical Staff
Persistent Systems.
|