diff options
author | Sergey Matveev <earthdok@google.com> | 2013-07-08 12:57:24 +0000 |
---|---|---|
committer | Sergey Matveev <earthdok@google.com> | 2013-07-08 12:57:24 +0000 |
commit | bdeff959a166594abf76206d0eae397e4cc17747 (patch) | |
tree | af6b1dc3d1afef208ba86f9bddca36067e428d77 /llvm/lib/Support/FileOutputBuffer.cpp | |
parent | 86142e02df74b8a4b3cb696818c31ff064f1bc45 (diff) | |
download | llvm-bdeff959a166594abf76206d0eae397e4cc17747.zip llvm-bdeff959a166594abf76206d0eae397e4cc17747.tar.gz llvm-bdeff959a166594abf76206d0eae397e4cc17747.tar.bz2 |
[lsan] Handle fork() correctly.
Update the main thread's os_id on every pthread_create, and before
initiating leak checking. This ensures that we have the correct os_id even if we
have forked after Init().
llvm-svn: 185815
Diffstat (limited to 'llvm/lib/Support/FileOutputBuffer.cpp')
0 files changed, 0 insertions, 0 deletions