dce4a407a24b04eebc6a376f8e62b41aaa7b071f |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for 3.5 rebase (r209712). Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/lib/Support/ThreadLocal.cpp
|
36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/lib/Support/ThreadLocal.cpp
|
b95f36183ccbb26154accc99fd304f6e04075682 |
|
20-Dec-2013 |
Bill Wendling <isanbard@gmail.com> |
Merging r197718: ------------------------------------------------------------------------ r197718 | hans | 2013-12-19 12:32:44 -0800 (Thu, 19 Dec 2013) | 10 lines Make sys::ThreadLocal<> zero-initialized on non-thread builds (PR18205) According to the docs, ThreadLocal<>::get() should return NULL if no object has been set. This patch makes that the case also for non-thread builds and adds a very basic unit test to check it. (This was causing PR18205 because PrettyStackTraceHead didn't get zero- initialized and we'd crash trying to read past the end of that list. We didn't notice this so much on Linux since we'd crash after printing all the entries, but on Mac we print into a SmallString, and would crash before printing that.) ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197778 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/ThreadLocal.cpp
|
da72dd2a01a9f3e686699d01f4d40b936a52eab6 |
|
26-Jun-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Fix ThreadLocalImpl::getInstance for --disable-threads. PR13114. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159210 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/ThreadLocal.cpp
|
1a18e9a2c4495052b903481c83616265074c4e91 |
|
13-Jun-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Fix building ThreadLocal.cpp with --disable-threads. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158405 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/ThreadLocal.cpp
|
3e61374295693beb0a899af44ccf4b5085dffbf3 |
|
12-Jun-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Satisfy C++ aliasing rules, per suggestion by Chandler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/ThreadLocal.cpp
|
793537d21f8aa46458a5733d96816ba8bddeef50 |
|
12-Jun-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
For llvm::sys::ThreadLocalImpl instead of malloc'ing the platform-specific thread local data, embed them in the class using a uint64_t and make sure we get compiler errors if there's a platform where this is not big enough. This makes ThreadLocal more safe for using it in conjunction with CrashRecoveryContext. Related to crash in rdar://11434201. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158342 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/ThreadLocal.cpp
|
08b73a30bbb6407c7b48a734a29f65f4c8ddd782 |
|
28-Nov-2011 |
Dylan Noblesmith <nobled@dreamwidth.org> |
rename ENABLE_THREADS to LLVM_ENABLE_THREADS Now that it needs to be exported in a public header (Valgrind.h) it should be prefixed to avoid collision with other projects. Add it to llvm-config.h as well. This'll require regenerating the configure script after this commit, but I don't have the required autoconf version. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145214 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/ThreadLocal.cpp
|
2c607b665dbeb52e2ade86f0e1f191695290da3b |
|
11-Oct-2011 |
Daniel Dunbar <daniel@zuster.org> |
Clean up a few references to System/. We still have docs/SystemLibrary.html lying around... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141703 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/ThreadLocal.cpp
|
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/lib/Support/ThreadLocal.cpp
|