kubamracek added a comment. Yes, this looks good, SafeStack has never worked on non-trivial programs on Darwin. Does the Clang driver also need a patch? Repository: rCRT Compiler Runtime https://reviews.llvm.org/D50718