libunwind: correct return code in unwinding trace log message
authorEd Maste <emaste@freebsd.org>
Fri, 29 Jul 2016 21:24:19 +0000 (21:24 +0000)
committerEd Maste <emaste@freebsd.org>
Fri, 29 Jul 2016 21:24:19 +0000 (21:24 +0000)
llvm-svn: 277215

libunwind/src/Unwind-EHABI.cpp

index b6a0b41..5e464f4 100644 (file)
@@ -574,7 +574,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<void *>(exception_object));
       return _URC_FATAL_PHASE2_ERROR;
     }