In matching behavior already provided by the GCC compiler, LLVM/Clang has landed “RandStruct” functionality to allow optionally randomizing the structure layout for C code…
Source: Phoronix – Clang 15 Lands Support To Randomize Structure Layout, Linux Prepares To Use It