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
This commit is contained in:
Filip Pizlo 2013-11-03 04:38:31 +00:00
parent 35a1e9414d
commit 153d6191c9

View File

@ -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);