diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2014-10-14 09:32:45 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2014-10-14 09:32:45 +0000 |
| commit | ea2f3bffca04ebb3fd91949ae5f0c5b1c6ff015f (patch) | |
| tree | e589f8b8a91cb81486fb1bd868063ce3c4171f2c /clang/lib/CodeGen/CodeGenFunction.cpp | |
| parent | 7c558cf4d6b9a21766f71159463d5a50a133a486 (diff) | |
| download | llvm-ea2f3bffca04ebb3fd91949ae5f0c5b1c6ff015f.zip llvm-ea2f3bffca04ebb3fd91949ae5f0c5b1c6ff015f.tar.gz llvm-ea2f3bffca04ebb3fd91949ae5f0c5b1c6ff015f.tar.bz2 | |
tsan: refactor atexit handling
The current handling (manual execution of atexit callbacks)
is overly complex and leads to constant problems due to mutual ordering of callbacks.
Instead simply wrap callbacks into our wrapper to establish
the necessary synchronization.
Fixes issue https://code.google.com/p/thread-sanitizer/issues/detail?id=80
llvm-svn: 219675
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
