37ed9c199ca639565f6ce88105f9e39e898d82d0 |
|
01-Dec-2014 |
Stephen Hines <srhines@google.com> |
Update aosp/master LLVM for rebase to r222494. Change-Id: Ic787f5e0124df789bd26f3f24680f45e678eef2d
/external/llvm/include/llvm/Support/ManagedStatic.h
|
c6a4f5e819217e1e12c458aed8e7b122e23a3a58 |
|
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for rebase to r212749. Includes a cherry-pick of: r212948 - fixes a small issue with atomic calls Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
/external/llvm/include/llvm/Support/ManagedStatic.h
|
dce4a407a24b04eebc6a376f8e62b41aaa7b071f |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for 3.5 rebase (r209712). Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/include/llvm/Support/ManagedStatic.h
|
e94e0984dfd22ede6211080d1f3e47138f1ea857 |
|
14-Sep-2013 |
Filip Pizlo <fpizlo@apple.com> |
Make PrettyStackTraceEntry use ManagedStatic for its ThreadLocal. This was somewhat tricky because ~PrettyStackTraceEntry() may run after llvm_shutdown() has been called. This is rare and only happens for a common idiom used in the main() functions of command-line tools. This works around the idiom by skipping the stack clean-up if the PrettyStackTraceHead ManagedStatic is not constructed (i.e. llvm_shutdown() has been called). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190730 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
4d0a9ff36574da0c042e9bd3ae816301b392ac41 |
|
14-Nov-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Add support for tsan annotations (thread sanitizer, a valgrind-based tool). 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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144567 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
1f6efa3996dd1929fbc129203ce5009b620e6969 |
|
29-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Merge System into Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
2da497902a196bacb073b65a5c7030f002cbd349 |
|
07-Sep-2010 |
Owen Anderson <resistor@mac.com> |
Remove dead code. ManagedCleanup is unused, and contained a serious bug in that the provided cleanup function is never actually called. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113284 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
80c8c3178276d0988c0129fb235f5b08a2e4f66d |
|
09-Jul-2009 |
Alisdair Meredith <public@alisdairm.net> |
Resolve undefined behaviour when ManagedStatic is instantiated with a fixed-length array type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75149 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
94fefe27f574ed98ad2522f8a7d1515e698ff036 |
|
19-Jun-2009 |
Owen Anderson <resistor@mac.com> |
Fences are expensive. Avoid doing them when we're not in multithreaded mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73777 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
e3cd5ca7e79f4359e8a101c211fc9c117eb62347 |
|
18-Jun-2009 |
Owen Anderson <resistor@mac.com> |
Move Threading.[h|cpp] from Support to System. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73707 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
4c7ac18fc9e9af51ea6362871589c13263526d7a |
|
16-Jun-2009 |
Owen Anderson <resistor@mac.com> |
Split the thread-related APIs out into their own file, and add a few more calls for convenience. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73512 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
6afe2fa28816b5b208a0140372900325709271c4 |
|
20-May-2009 |
Owen Anderson <resistor@mac.com> |
Have llvm_start_multithreaded return a bool indicating whether multithreaded initialization succeeded or not, rather than just asserting. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72182 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
b4d97b78dfd0d14a788fa3cb876f67a9e666b99b |
|
20-May-2009 |
Owen Anderson <resistor@mac.com> |
Add llvm_start_multithreaded(), which starts up the LLVM internals in thread-safe mode. Provide double-check locking initialization of ManagedStatic's when running in thread-safe mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72151 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
18ad4cb95dd4092eeb29d9c5233d18d9f918b040 |
|
16-May-2009 |
Owen Anderson <resistor@mac.com> |
Back out the thread-safe ManagedStatic for now. Too many people have too many problems with it for the moment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71931 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
ca37b511fa1e542c936402c0023455fd9a444e76 |
|
15-May-2009 |
Owen Anderson <resistor@mac.com> |
Factor out some common code, fix more typoes, and add a memory fence that might be needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71853 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
d300a28c40808833c63713c2a69543db20ce7c5d |
|
15-May-2009 |
Owen Anderson <resistor@mac.com> |
Fix an unfortunate typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
5f00b0c5b63c30c7ad6134543318551902de5c93 |
|
15-May-2009 |
Owen Anderson <resistor@mac.com> |
Now with working on Leopard! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71819 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
87ba22dc672a117d6ec99fa0b4d5ad82d0019508 |
|
14-May-2009 |
Owen Anderson <resistor@mac.com> |
Make ManagedStatic threadsafe by using atomic operations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71796 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
fe2cce63aa26d0916fa7be32c6bf7fa8fb059ee7 |
|
20-Feb-2009 |
Misha Brukman <brukman+llvm@gmail.com> |
Removed trailing whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65196 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
7ed47a13356daed2a34cd2209a31f92552e3bdd8 |
|
29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
Don't attribute in file headers anymore. See llvmdev for the discussion of this change. Boy are my fingers tired. ;-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45411 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
b4d7e35dde3ccbe0dc10bf13332ade9812586dd0 |
|
20-Feb-2007 |
Chris Lattner <sabre@nondot.org> |
add a way to register an arbitrary cleanup function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34442 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
68ce9ba666a7eb8c7eb3fb7888e4418fffd2e716 |
|
10-Feb-2007 |
Chris Lattner <sabre@nondot.org> |
add helper method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34155 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
bdbf5fd1c9cfa30a348596b127394fa1f4caf033 |
|
06-Dec-2006 |
Chris Lattner <sabre@nondot.org> |
add a helper to call llvm_shutdown() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32249 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|
771cbf30bc1ff025316d1a80aeb5102375c1598e |
|
28-Sep-2006 |
Chris Lattner <sabre@nondot.org> |
new helper class to provide more explicit management of static ctor/dtors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30638 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ManagedStatic.h
|