smeenai wrote: Could you verify that Apple's linker has the same behavior around: * `-interposable` affecting executables as well as dylibs? * `-interposable` affecting all definitions including `_main`? If so, this looks good to me. https://github.com/llvm/llvm-project/pull/131813