[all-commits] [llvm/llvm-project] 8d300e: [hwasan] Improve support of forking with threads (...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed Dec 13 14:51:32 PST 2023


  Branch: refs/heads/users/vitalybuka/spr/msan-use-pthread_atfork-instead-of-interceptor
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d300e67d2227f55fc5056cd3eec8c62d084c1b9
      https://github.com/llvm/llvm-project/commit/8d300e67d2227f55fc5056cd3eec8c62d084c1b9
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-12-13 (Wed, 13 Dec 2023)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_linux.cpp
    M compiler-rt/lib/hwasan/hwasan_thread.cpp
    M compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c

  Log Message:
  -----------
  [hwasan] Improve support of forking with threads (#75291)

Lock Lsan and Thread related date at_fork.

Clean shadow before thread starts, forked process may reuse already
mapped stack of 'lost' parent thread for new threads.


  Commit: 82fcebe47ccc32d3d8cae165d108cb32f16bb190
      https://github.com/llvm/llvm-project/commit/82fcebe47ccc32d3d8cae165d108cb32f16bb190
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-12-13 (Wed, 13 Dec 2023)

  Changed paths:

  Log Message:
  -----------
  rebase

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/d223daa16de5...82fcebe47ccc


More information about the All-commits mailing list