[llvm-commits] [llvm] r158342 - in /llvm/trunk: include/llvm/Support/ThreadLocal.h lib/Support/ThreadLocal.cpp lib/Support/Windows/ThreadLocal.inc
Joerg Sonnenberger
joerg at britannica.bec.de
Sat Jun 16 22:47:36 PDT 2012
On Tue, Jun 12, 2012 at 12:21:31AM -0000, Argyrios Kyrtzidis wrote:
> Author: akirtzidis
> Date: Mon Jun 11 19:21:31 2012
> New Revision: 158342
>
> URL: http://llvm.org/viewvc/llvm-project?rev=158342&view=rev
> Log:
> 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.
Was this problem tested? When building r158405 on Linux with
--disable-threads, llvm-tblgen crashes in PrettyStackTrace's destructor.
Joerg
More information about the llvm-commits
mailing list