Add a comment to note that LLVMDisablePrettyStackTrace() is likely not a good long-term solution.

llvm-svn: 193939
This commit is contained in:
Filip Pizlo 2013-11-03 04:38:31 +00:00
parent 6d023c4f1e
commit 9f89e59bb9
1 changed files with 3 additions and 0 deletions

View File

@ -436,6 +436,9 @@ void LLVMResetFatalErrorHandler(void);
/** /**
* Disable LLVM's built-in stack trace code. This must be called before any * Disable LLVM's built-in stack trace code. This must be called before any
* other LLVM APIs; otherwise the results are undefined. * 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); void LLVMDisablePrettyStackTrace(void);