aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2014-10-14 09:32:45 +0000
committerDmitry Vyukov <dvyukov@google.com>2014-10-14 09:32:45 +0000
commitea2f3bffca04ebb3fd91949ae5f0c5b1c6ff015f (patch)
treee589f8b8a91cb81486fb1bd868063ce3c4171f2c /clang/lib/CodeGen/CodeGenFunction.cpp
parent7c558cf4d6b9a21766f71159463d5a50a133a486 (diff)
downloadllvm-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