diff options
author | Filip Pizlo <fpizlo@apple.com> | 2013-11-03 04:38:31 +0000 |
---|---|---|
committer | Filip Pizlo <fpizlo@apple.com> | 2013-11-03 04:38:31 +0000 |
commit | 9f89e59bb9b30fc661e7c346d58b1f2007274502 (patch) | |
tree | 810a4d41f2b448ec8b25fb1ef8feb6cdc3a25c37 /llvm/include/llvm-c | |
parent | 6d023c4f1e7918214a247a4dfd55e8fa824b2e49 (diff) | |
download | bcm5719-llvm-9f89e59bb9b30fc661e7c346d58b1f2007274502.tar.gz bcm5719-llvm-9f89e59bb9b30fc661e7c346d58b1f2007274502.zip |
Add a comment to note that LLVMDisablePrettyStackTrace() is likely not a good long-term solution.
llvm-svn: 193939
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r-- | llvm/include/llvm-c/Core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h index 47d566c03e2..88204ef33ce 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/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); |