[libcxxabi] r208350 - Fix broken build from r208135
Jonathan Roelofs
jonathan at codesourcery.com
Thu May 8 11:48:43 PDT 2014
Author: jroelofs
Date: Thu May 8 13:48:43 2014
New Revision: 208350
URL: http://llvm.org/viewvc/llvm-project?rev=208350&view=rev
Log:
Fix broken build from r208135
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=208350&r1=208349&r2=208350&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_guard.cpp (original)
+++ libcxxabi/trunk/src/cxa_guard.cpp Thu May 8 13:48:43 2014
@@ -187,6 +187,7 @@ void __cxa_guard_abort(guard_type* guard
int __cxa_guard_acquire(guard_type* guard_object)
{
+ char* initialized = (char*)guard_object;
if (pthread_mutex_lock(&guard_mut))
abort_message("__cxa_guard_acquire failed to acquire mutex");
int result = *initialized == 0;
More information about the cfe-commits
mailing list