Browse the object file and scroll to the end of the file. The last few records contain a character string, which lists the options used during compilation.
In addition, it is possible to identify the compiler mode used to generate the object file, as follows:
Option text has "NOIPA".
Option text has "IPA (NOLINK, NOOBJ)". Towards the beginning of the file, an ESD record will contain the symbol "@@IPAOBJ". A second ESD record will contain the symbol "@@DOIPA".
Option text has "IPA (NOLINK, OBJ)". Towards the beginning of the file, an ESD record will contain the symbol "@@IPAOBJ". The IPA information will be separated from the "real" code and data by a delimiter END record with the comment "of IPA object". After the real code and data, there will be a second delimiter END record with the comment "of object".