pRETzel logic is a ROP-based obfuscating compiler implemented on LLVM
The -mrop-obfuscate flag can be used to ROP-obfuscate all functions. It also supports per-function obfuscation by adding the rop_obfuscate attribute to LLVM-IR.
$ clang -mrop-obfuscate src.c