1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00
Go to file
Mark Seaborn 83fd697a96 Fix RWMutex to be thread-safe when pthread_rwlock is not available
lib/Support/RWMutex.cpp contains an implementation of RWMutex that
uses pthread_rwlock, but when pthread_rwlock is not available (such as
under NaCl, when using newlib), it silently falls back to using the
no-op definition in lib/Support/Unix/RWMutex.inc, which is not
thread-safe.

Fix this case to be thread-safe by using a normal mutex.

Differential Revision: http://llvm-reviews.chandlerc.com/D2892

llvm-svn: 202570
2014-03-01 04:30:32 +00:00
autoconf [C++11] Replace autoconf --enable-cxx11 with --enable-cxx1y. The 2014-03-01 03:33:08 +00:00
bindings [python-bindings] Remove some cruft that snuck in. 2014-02-23 04:43:26 +00:00
cmake [C++11] Switch the CMake option from LLVM_ENABLE_CXX11 (default on) to 2014-03-01 03:16:07 +00:00
docs [docs] Update the docs to remove my hedging about C++98 vs. C++11. =] 2014-03-01 02:48:03 +00:00
examples Use DataLayout from the module when easily available. 2014-02-25 23:25:17 +00:00
include Jumped the gun with r202551 and broke some bots that weren't yet C++11ified. 2014-02-28 22:44:44 +00:00
lib Fix RWMutex to be thread-safe when pthread_rwlock is not available 2014-03-01 04:30:32 +00:00
projects Drop libtool from llvm. 2014-02-28 18:17:54 +00:00
test [Sparc] Add support for parsing directives in SparcAsmParser. 2014-03-01 02:18:04 +00:00
tools Centralize the handling of install_name and rpath. 2014-02-28 13:48:03 +00:00
unittests With rpaths being set correctly, SHLIBPATH_VAR is not needed anymore. 2014-02-28 16:16:51 +00:00
utils Add an OutPatFrag TableGen class 2014-02-28 00:26:56 +00:00
.arcconfig
.clang-format
.gitignore Added .DS_Store entry in .gitignore for ignoring .DS_Store files in the source 2014-01-25 15:15:16 +00:00
CMakeLists.txt [C++11] Switch the CMake option from LLVM_ENABLE_CXX11 (default on) to 2014-03-01 03:16:07 +00:00
CODE_OWNERS.TXT Add myself as owner for libc++ 2014-02-18 14:03:17 +00:00
configure [C++11] Replace autoconf --enable-cxx11 with --enable-cxx1y. The 2014-03-01 03:33:08 +00:00
CREDITS.TXT Fix documentation typos 2013-12-20 00:33:39 +00:00
LICENSE.TXT Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
llvm.spec.in
LLVMBuild.txt Remove the very substantial, largely unmaintained legacy PGO 2013-10-02 15:42:23 +00:00
Makefile Provide CMake package modules in install tree 2014-02-09 16:37:02 +00:00
Makefile.common
Makefile.config.in [C++11] Replace autoconf --enable-cxx11 with --enable-cxx1y. The 2014-03-01 03:33:08 +00:00
Makefile.rules [C++11] Replace autoconf --enable-cxx11 with --enable-cxx1y. The 2014-03-01 03:33:08 +00:00
README.txt Revert "Test commit to check e-mail address. Please discard this." 2013-10-04 10:59:13 +00:00

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you're writing a package for LLVM, see docs/Packaging.rst for our
suggestions.