summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFilip Pizlo <fpizlo@apple.com>2013-11-03 04:38:31 +0000
committerFilip Pizlo <fpizlo@apple.com>2013-11-03 04:38:31 +0000
commit153d6191c9c5e15aa22bf2eae14463fd43454609 (patch)
treeb2aa0f1d7a8f197209708f2192e145e697cbdf7f /include
parent35a1e9414d48f52093679b4723578192cceeb3c5 (diff)
downloadllvm-153d6191c9c5e15aa22bf2eae14463fd43454609.tar.gz
llvm-153d6191c9c5e15aa22bf2eae14463fd43454609.tar.bz2
llvm-153d6191c9c5e15aa22bf2eae14463fd43454609.tar.xz
Add a comment to note that LLVMDisablePrettyStackTrace() is likely not a good long-term solution.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm-c/Core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 47d566c03e..88204ef33c 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -436,6 +436,9 @@ void LLVMResetFatalErrorHandler(void);
/**
* Disable LLVM's built-in stack trace code. This must be called before any
* other LLVM APIs; otherwise the results are undefined.
+ *
+ * FIXME: This API should be replaced by a LLVMEnablePrettyStackTrace()
+ * function; the default should be that pretty stack traces are disabled.
*/
void LLVMDisablePrettyStackTrace(void);