tschuett added a comment. I see, but this solution seems to be a very Linux/ELF way of doing it. I could not find anything similar for Mach-O. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D82404/new/ https://reviews.llvm.org/D82404