Add a comment to note that LLVMDisablePrettyStackTrace() is likely not a good long...
authorFilip Pizlo <fpizlo@apple.com>
Sun, 3 Nov 2013 04:38:31 +0000 (04:38 +0000)
committerFilip Pizlo <fpizlo@apple.com>
Sun, 3 Nov 2013 04:38:31 +0000 (04:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193939 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm-c/Core.h

index 47d566c03e2ccdc3d68e5aecb5593ac9cfe46157..88204ef33ce2ce96890c4bad620d754b654c265f 100644 (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);