[cfe-commits] [libcxxabi] r136670 - /libcxxabi/trunk/src/cxa_guard.cpp
Nick Kledzik
kledzik at apple.com
Mon Aug 1 18:18:14 PDT 2011
Author: kledzik
Date: Mon Aug 1 20:18:14 2011
New Revision: 136670
URL: http://llvm.org/viewvc/llvm-project?rev=136670&view=rev
Log:
move abort_message() to its own file
Modified:
libcxxabi/trunk/src/cxa_guard.cpp
Modified: libcxxabi/trunk/src/cxa_guard.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_guard.cpp?rev=136670&r1=136669&r2=136670&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_guard.cpp (original)
+++ libcxxabi/trunk/src/cxa_guard.cpp Mon Aug 1 20:18:14 2011
@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
#include "cxxabi.h"
+#include "abort_message.h"
#include <pthread.h>
#include <stdint.h>
@@ -51,13 +52,6 @@
#endif
-
-void abort_message(const char* s)
-{
- fputs(s, stderr);
- ::abort();
-}
-
pthread_mutex_t guard_mut = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t guard_cv = PTHREAD_COND_INITIALIZER;
More information about the cfe-commits
mailing list