gccint: Plugins gate
1
1 24.8 Controlling which passes are being run
1 ===========================================
1
1 After the original gate function for a pass is called, its result - the
1 gate status - is stored as an integer. Then the event
1 'PLUGIN_OVERRIDE_GATE' is invoked, with a pointer to the gate status in
1 the 'gcc_data' parameter to the callback function. A nonzero value of
1 the gate status means that the pass is to be executed. You can both
1 read and write the gate status via the passed pointer.
1