[libcxxabi] r208135 - On single threaded systems, turn mutexes into nops
Jonathan Roelofs
jonathan at codesourcery.com
Thu May 8 11:59:27 PDT 2014
Oops. Fixed in r208350.
Jon
On 5/8/14, 2:30 AM, İsmail Dönmez wrote:
> Hi,
>
>
> On Wed, May 7, 2014 at 12:30 AM, Jonathan Roelofs <jonathan at codesourcery.com <mailto:jonathan at codesourcery.com>> wrote:
>
> Author: jroelofs
> Date: Tue May 6 16:30:56 2014
> New Revision: 208135
>
> URL: http://llvm.org/viewvc/llvm-project?rev=208135&view=rev
> Log:
> On single threaded systems, turn mutexes into nops
>
> http://reviews.llvm.org/D3386
>
> Added:
> libcxxabi/trunk/src/config.h
> Modified:
> libcxxabi/trunk/src/cxa_exception.cpp
> libcxxabi/trunk/src/cxa_exception_storage.cpp
> libcxxabi/trunk/src/cxa_guard.cpp
> libcxxabi/trunk/src/fallback_malloc.ipp
> libcxxabi/trunk/test/test_exception_storage.cpp
>
>
> This one breaks compilation for me on Linux:
>
> + clang++ -c -g -O3 -fPIC -std=c++11 -stdlib=libc++ -fstrict-aliasing -Wstrict-aliasing=2 -Wsign-conversion -Wshadow -Wconversion -Wunused-variable -Wmissing-field-initializers -Wchar-subscripts -Wmismatched-tags -Wmissing-braces -Wshorten-64-to-32 -Wsign-compare -Wstrict-aliasing=2 -Wstrict-overflow=4 -Wunused-parameter -Wnewline-eof -I../include ../src/cxa_guard.cpp
> ../src/cxa_guard.cpp:192:19: error: use of undeclared identifier 'initialized'; did you mean 'is_initialized'?
> int result = *initialized == 0;
> ^~~~~~~~~~~
> is_initialized
> ../src/cxa_guard.cpp:53:6: note: 'is_initialized' declared here
> bool is_initialized(guard_type* guard_object) {
> ^
> ../src/cxa_guard.cpp:219:19: error: use of undeclared identifier 'initialized'; did you mean 'is_initialized'?
> result = *initialized == 0;
> ^~~~~~~~~~~
> is_initialized
> ../src/cxa_guard.cpp:53:6: note: 'is_initialized' declared here
> bool is_initialized(guard_type* guard_object) {
> ^
> 2 errors generated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140508/1799db43/attachment.html>
More information about the cfe-commits
mailing list