Next: C++ ABI, Previous: MIPS Coprocessors, Up: Target Macros
13.25 Parameters for Precompiled Header Validity Checking
Define this hook if your target needs to check a different collection of flags than the default, which is every flag defined by
TARGET_SWITCHES
andTARGET_OPTIONS
. It should return some data which will be saved in the PCH file and presented toTARGET_PCH_VALID_P
later; it should setSZ
to the size of the data.
Define this hook if your target needs to check a different collection of flags than the default, which is every flag defined by
TARGET_SWITCHES
andTARGET_OPTIONS
. It is given data which came fromTARGET_GET_PCH_VALIDITY
(in this version of this compiler, so there is no need for extensive validity checking). It returnsNULL
if it is safe to load a PCH file with this data, or a suitable error message if not. The error message will be presented to the user, so it should be localized.