summaryrefslogtreecommitdiff
path: root/include/llvm/Config/config.h.in
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-09-21 23:03:29 +0000
committerEric Christopher <echristo@apple.com>2012-09-21 23:03:29 +0000
commitc69bdadac9431efc0cfa6832a321e0f51ab4e6cd (patch)
treeebc186f796ba7a019152f4d7acaaeb83c76049ae /include/llvm/Config/config.h.in
parentc91249485527f69cf0d7e7b6dda9d8e6eb46d4b0 (diff)
downloadllvm-c69bdadac9431efc0cfa6832a321e0f51ab4e6cd.tar.gz
llvm-c69bdadac9431efc0cfa6832a321e0f51ab4e6cd.tar.bz2
llvm-c69bdadac9431efc0cfa6832a321e0f51ab4e6cd.tar.xz
Add an --enable-backtraces option to configure to determine
whether or not we want to print out backtrace information. Useful for libraries that don't need backtrace information on a crash. rdar://11844710 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164426 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config/config.h.in')
-rw-r--r--include/llvm/Config/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in
index 5a60ba565f..a4f8af4db0 100644
--- a/include/llvm/Config/config.h.in
+++ b/include/llvm/Config/config.h.in
@@ -18,6 +18,9 @@
/* Default <path> to all compiler invocations for --sysroot=<path>. */
#undef DEFAULT_SYSROOT
+/* Define if you want backtraces on crash */
+#undef ENABLE_BACKTRACES
+
/* Define if position independent code is enabled */
#undef ENABLE_PIC