diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-05-05 15:38:32 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-05-05 15:38:32 +0000 |
commit | cc6a44b8bdecd9fc70211146e8ba3853b1fac784 (patch) | |
tree | 7bf18b33b17a8ae8a3c474fe915ca6e2e7cb49a7 /lib/Frontend/PCHWriterDecl.cpp | |
parent | 4bfe1968410ea8ffe3b4f629addd7c4bcf484765 (diff) |
For thread-safe static initialization of local statics with
destructors, place the __cxa_atexit call after the __cxa_guard_release
call, mimicking GCC/LLVM-GCC behavior. Noticed while debugging
something related.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103088 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHWriterDecl.cpp')
0 files changed, 0 insertions, 0 deletions