diff options
Diffstat (limited to 'compiler-rt/lib/lsan/lsan_posix.cpp')
| -rw-r--r-- | compiler-rt/lib/lsan/lsan_posix.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/lsan/lsan_posix.cpp b/compiler-rt/lib/lsan/lsan_posix.cpp index ddd9fee07e89..593000b9eef9 100644 --- a/compiler-rt/lib/lsan/lsan_posix.cpp +++ b/compiler-rt/lib/lsan/lsan_posix.cpp @@ -97,6 +97,7 @@ void InstallAtExitCheckLeaks() { } static void BeforeFork() { + VReport(2, "BeforeFork tid: %llu\n", GetTid()); LockGlobal(); LockThreads(); LockAllocator(); @@ -108,6 +109,7 @@ static void AfterFork(bool fork_child) { UnlockAllocator(); UnlockThreads(); UnlockGlobal(); + VReport(2, "AfterFork tid: %llu\n", GetTid()); } void InstallAtForkHandler() { |
