Adding a patch to debug clang-produced executables

Thanks to Dimitry Andric to provide it