aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileOutputBuffer.cpp
diff options
context:
space:
mode:
authorSergey Matveev <earthdok@google.com>2013-07-08 12:57:24 +0000
committerSergey Matveev <earthdok@google.com>2013-07-08 12:57:24 +0000
commitbdeff959a166594abf76206d0eae397e4cc17747 (patch)
treeaf6b1dc3d1afef208ba86f9bddca36067e428d77 /llvm/lib/Support/FileOutputBuffer.cpp
parent86142e02df74b8a4b3cb696818c31ff064f1bc45 (diff)
downloadllvm-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