Author: Piotr Kubaj Date: 2022-02-06T01:20:31+08:00 New Revision: f2f4080c10f4319adf75c660425911cd4e0e1843
URL: https://github.com/llvm/llvm-project/commit/f2f4080c10f4319adf75c660425911cd4e0e1843 DIFF: https://github.com/llvm/llvm-project/commit/f2f4080c10f4319adf75c660425911cd4e0e1843.diff LOG: [PowerPC] Fix SSE translation on FreeBSD This patch drops throws specifier in posix_memalign declaration because that's different between glibc and other libc, and Clang has a hack. Differential Revision: https://reviews.llvm.org/D117972 Added: Modified: clang/lib/Headers/ppc_wrappers/mm_malloc.h Removed: ################################################################################ diff --git a/clang/lib/Headers/ppc_wrappers/mm_malloc.h b/clang/lib/Headers/ppc_wrappers/mm_malloc.h index 86cf1a0f76180..b6bf22f928879 100644 --- a/clang/lib/Headers/ppc_wrappers/mm_malloc.h +++ b/clang/lib/Headers/ppc_wrappers/mm_malloc.h @@ -19,7 +19,7 @@ #ifndef __cplusplus extern int posix_memalign (void **, size_t, size_t); #else -extern "C" int posix_memalign (void **, size_t, size_t) throw (); +extern "C" int posix_memalign (void **, size_t, size_t); #endif static __inline void * _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits