diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-06-12 00:21:31 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-06-12 00:21:31 +0000 |
commit | 8d19c86c9a2fb83d606aef7e6e0b43c886ec6bc5 (patch) | |
tree | 27023e3a392b7e534729678f59db918a248cc3cc /clang/lib/CodeGen/CGCall.cpp | |
parent | 2fdc07ee8972b41032a98ed7699fed132557a78e (diff) | |
download | bcm5719-llvm-8d19c86c9a2fb83d606aef7e6e0b43c886ec6bc5.tar.gz bcm5719-llvm-8d19c86c9a2fb83d606aef7e6e0b43c886ec6bc5.zip |
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.
llvm-svn: 158342
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
0 files changed, 0 insertions, 0 deletions