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

Filip Pizlo fpizlo at apple.com
Sat Nov 2 21:38:32 PDT 2013


Author: fpizlo
Date: Sat Nov  2 23:38:31 2013
New Revision: 193939

URL: http://llvm.org/viewvc/llvm-project?rev=193939&view=rev
Log:
Add a comment to note that LLVMDisablePrettyStackTrace() is likely not a good long-term solution.


Modified:
    llvm/trunk/include/llvm-c/Core.h

Modified: llvm/trunk/include/llvm-c/Core.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Core.h?rev=193939&r1=193938&r2=193939&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/Core.h (original)
+++ llvm/trunk/include/llvm-c/Core.h Sat Nov  2 23:38:31 2013
@@ -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);
 





More information about the llvm-commits mailing list