[all-commits] [llvm/llvm-project] f78a74: [NFC][sanitizer] Rename Lock{Before, After}Fork suf...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Dec 22 23:38:14 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f78a742ab8fc0290742db28a61feef21aa0ecf97
      https://github.com/llvm/llvm-project/commit/f78a742ab8fc0290742db28a61feef21aa0ecf97
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

  Changed paths:
    M compiler-rt/lib/asan/asan_posix.cpp
    M compiler-rt/lib/dfsan/dfsan_chained_origin_depot.cpp
    M compiler-rt/lib/dfsan/dfsan_chained_origin_depot.h
    M compiler-rt/lib/dfsan/dfsan_custom.cpp
    M compiler-rt/lib/hwasan/hwasan_linux.cpp
    M compiler-rt/lib/lsan/lsan_posix.cpp
    M compiler-rt/lib/msan/msan_chained_origin_depot.cpp
    M compiler-rt/lib/msan/msan_chained_origin_depot.h
    M compiler-rt/lib/msan/msan_linux.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.h

  Log Message:
  -----------
  [NFC][sanitizer] Rename Lock{Before,After}Fork suffixes locking StackDepotBase (#76279)

This is preparation for performance optimization.

We need to highlight that this is very specific lock, and should not be
used for other purposes.
Add `fork_child` parameter to distinguish processes after fork.




More information about the All-commits mailing list