[libcxxabi] r208135 - On single threaded systems, turn mutexes into nops
İsmail Dönmez
ismail at donmez.ws
Thu May 8 02:30:50 PDT 2014
Hi,
On Wed, May 7, 2014 at 12:30 AM, Jonathan Roelofs <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/1250a3d6/attachment.html>
More information about the cfe-commits
mailing list