I think you should check for exactly "__GI_abort" on Linux and "abort" on other platforms. REPOSITORY rL LLVM http://reviews.llvm.org/D7836 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/