Part#4. Update x86 backend to enable Intel CET. All platforms except i386 will report the error and do no instrumentation with -finstrument-control-flow option. i386 will provide the implementation based on a specification published by Intel for a new technology called Control-flow Enforcement Technology (CET). The spec is available at
https://software.intel.com/sites/default/files/managed/4d/2a/control-flow-enforcement-technology-preview.pdf The implementation in this patch: 1) enables Control-flow Enforcement Technology (CET), published by Intel. This part introduces i386 specific options -mcet, -mibt and -mshstk, new instructions and intrinsics; 2) provides support for -finstrument-control-flow option by doing needed code instrumentation, which is based on CET features.
0004-Part-4.-Update-x86-backend-to-enable-Intel-CET.PATCH
Description: 0004-Part-4.-Update-x86-backend-to-enable-Intel-CET.PATCH