diff options
Diffstat (limited to 'compiler-rt/lib/msan/msan_chained_origin_depot.cpp')
-rw-r--r-- | compiler-rt/lib/msan/msan_chained_origin_depot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/msan/msan_chained_origin_depot.cpp b/compiler-rt/lib/msan/msan_chained_origin_depot.cpp index c3bd541..b98b0e6 100644 --- a/compiler-rt/lib/msan/msan_chained_origin_depot.cpp +++ b/compiler-rt/lib/msan/msan_chained_origin_depot.cpp @@ -31,10 +31,10 @@ u32 ChainedOriginDepotGet(u32 id, u32 *other) { return chainedOriginDepot.Get(id, other); } -void ChainedOriginDepotBeforeFork() { chainedOriginDepot.LockAll(); } +void ChainedOriginDepotBeforeFork() { chainedOriginDepot.LockBeforeFork(); } void ChainedOriginDepotAfterFork(bool fork_child) { - chainedOriginDepot.UnlockAll(); + chainedOriginDepot.UnlockAfterFork(fork_child); } } // namespace __msan |