Proposed patch adds TLS Max Alignment diagnostic

Hi Clang developers,

We here at Sony PlayStation have a proposed patch which adds an error diagnostic for when TLS variables exceed maximum TLS alignment.

Please note this patch does not affect normal maximum alignments.

This TLS maximum alignment check is currently only turned on for PS4 but could potentially be used for other platforms.

Sincerely,

Charles Li

MaxTLSAlign.patch (6.53 KB)