--veneerinject,--no_veneerinject linker option
Enables or disables the placement of veneers outside of the sorting order for the Execution Region.
Use --veneerinject to allow the linker to place veneers outside of the sorting order for the Execution Region. This option is a subset of the --largeregions command. Use --veneerinject if you want to allow the veneer placement behavior described, but do not want to implicitly set the --api and --sort=AvgCallDepth.
Use --no_veneerinject to allow the linker use the sorting order for the Execution Region.
Use --veneer_inject_type to control the strategy the linker uses to place injected veneers.
The following command-line options allow stable veneer placement with large Execution Regions:
--veneerinject --veneer_inject_type=pool --sort=lexical
The default is --no_veneerinject. The linker automatically switches to large region mode if it is required to successfully link the image. If large region mode is turned off with --no_largeregions then only --veneerinject is turned on if it is required to successfully link the image.
--veneerinject is the default for large region mode.