| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This is super awkward, but GCC doesn't let us have template visible when
an argument is an inline function and -fvisibility-inlines-hidden is
used.
llvm-svn: 304175
|
|
|
|
|
|
|
| |
Turns out this is very hostile towards other unit tests running in the
same process, it unregisters all flags.
llvm-svn: 304165
|
|
|
|
|
|
| |
error C2971: 'llvm::ManagedStatic': template parameter 'Creator': 'CreateDefaultTimerGroup': a variable with non-static storage duration cannot be used as a non-type argument
llvm-svn: 304157
|
|
|
|
|
|
| |
Also add a test case verifying that nested ManagedStatics work correctly.
llvm-svn: 304155
|
|
|
|
|
|
|
| |
I'll fix the problems in libclang and other projects in ways that don't
require <mutex> until we sort out the cygwin situation.
llvm-svn: 211900
|
|
|
|
|
|
| |
libclang still requires it on cygming, lack of incomplete <mutex>.
llvm-svn: 211592
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After a number of previous small iterations, the functions
llvm_start_multithreaded() and llvm_stop_multithreaded() have
been reduced essentially to no-ops. This change removes them
entirely.
Reviewed by: rnk, dblaikie
Differential Revision: http://reviews.llvm.org/D4216
llvm-svn: 211287
|
|
|
|
|
|
|
| |
These were committed accidentally from the wrong branch before having
a review sign-off.
llvm-svn: 211072
|
|
|
|
| |
llvm-svn: 211067
|
|
|
|
| |
llvm-svn: 210442
|
|
|
|
|
|
| |
-DLLVM_ENABLE_THREADS=false.
llvm-svn: 181788
|
|
|
|
|
|
| |
Fails due to insufficient thread stack.
llvm-svn: 178135
|
|
|
|
|
|
|
|
|
| |
pthread_attr_setstack(3) only on Linux.
I got blamed on darwin11;
unittests/Support/ManagedStatic.cpp:35: error: 'pthread_attr_setstack' was not declared in this scope
llvm-svn: 173355
|
|
|
|
|
|
| |
allocate stack explicitly for glibc.
llvm-svn: 173350
|
|
|
|
| |
llvm-svn: 169250
|
|
|
|
|
|
| |
available.
llvm-svn: 144574
|
|
These annotations are disabled entirely when either ENABLE_THREADS is off, or
building a release build. When enabled, they add calls to functions with no
statements to ManagedStatic's getters.
Use these annotations to inform tsan that the race used inside ManagedStatic
initialization is actually benign. Thanks to Kostya Serebryany for helping
write this patch!
llvm-svn: 144567
|