LLVM backend for 6502
Go to file
Mark Seaborn 79ac85be0b 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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202570 91177308-0d34-0410-b5e6-96231b3b80d8
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
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
configure [C++11] Replace autoconf --enable-cxx11 with --enable-cxx1y. The 2014-03-01 03:33:08 +00:00
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
Makefile
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

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.