From 153d6191c9c5e15aa22bf2eae14463fd43454609 Mon Sep 17 00:00:00 2001 From: Filip Pizlo Date: Sun, 3 Nov 2013 04:38:31 +0000 Subject: [PATCH] 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 --- include/llvm-c/Core.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index 47d566c03e2..88204ef33ce 100644 --- a/include/llvm-c/Core.h +++ b/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);