summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Support/Compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/Compiler.h b/llvm/include/llvm/Support/Compiler.h
index 2d2a0b124ab..c9cc3da8c3f 100644
--- a/llvm/include/llvm/Support/Compiler.h
+++ b/llvm/include/llvm/Support/Compiler.h
@@ -134,7 +134,7 @@
# define LLVM_BUILTIN_UNREACHABLE __builtin_unreachable()
#else
#ifdef __cplusplus
-extern "C" LLVM_ATTRIBUTE_NORETURN void abort();
+extern "C" LLVM_ATTRIBUTE_NORETURN void abort() throw();
#else
extern LLVM_ATTRIBUTE_NORETURN void abort();
#endif
OpenPOWER on IntegriCloud