From 6f397cc07f31b3aa0c069cdb893354b0516f8350 Mon Sep 17 00:00:00 2001 From: emaste Date: Fri, 29 Jul 2016 21:37:00 +0000 Subject: [PATCH] libunwind: correct return code in unwinding trace log message Obtained from: LLVM r277215 MFC after: 3 days Sponsored by: The FreeBSD Foundation --- contrib/llvm/projects/libunwind/src/Unwind-EHABI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/llvm/projects/libunwind/src/Unwind-EHABI.cpp b/contrib/llvm/projects/libunwind/src/Unwind-EHABI.cpp index 5950c6902e38..ca7b43e113a7 100644 --- a/contrib/llvm/projects/libunwind/src/Unwind-EHABI.cpp +++ b/contrib/llvm/projects/libunwind/src/Unwind-EHABI.cpp @@ -572,7 +572,7 @@ static _Unwind_Reason_Code unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor unw_get_reg(cursor, UNW_REG_SP, &sp); if (unw_get_proc_info(cursor, &frameInfo) != UNW_ESUCCESS) { _LIBUNWIND_TRACE_UNWINDING("unwind_phase2(ex_ojb=%p): unw_get_proc_info " - "failed => _URC_FATAL_PHASE1_ERROR\n", + "failed => _URC_FATAL_PHASE2_ERROR\n", static_cast(exception_object)); return _URC_FATAL_PHASE2_ERROR; }