================ @@ -120,6 +126,18 @@ void SetErrorCallback(void (*callback)(int)); [[noreturn]] void NormalExit(int exitCode); [[noreturn]] void ErrorExit(int exitCode); +#ifdef FLANG_RT_HAVE_CSIGNAL +// Host only. Device and native GPU builds do not include <csignal>. +// Print a stack trace when -fbacktrace is enabled and backtrace(3) is +// available. heading may be null. Does nothing when backtrace(3) is not +// available; CALL BACKTRACE() still reports that it is unsupported. ---------------- tarunprabhu wrote:
Why is the statement about `CALL BACKTRACE()` relevant here? Besides, I think this contradicts the documentation which states that `CALL BACKTRACE()` will always print a backtrace. https://github.com/llvm/llvm-project/pull/241967 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
