[all-commits] [llvm/llvm-project] f4c608: [lsan] Process non-suspended threads (#112807)

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Oct 18 15:24:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4c6088346fa284412f13a24116836ff64b6bd4b
      https://github.com/llvm/llvm-project/commit/f4c6088346fa284412f13a24116836ff64b6bd4b
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-10-18 (Fri, 18 Oct 2024)

  Changed paths:
    M compiler-rt/lib/lsan/lsan_common.cpp
    M compiler-rt/lib/lsan/lsan_flags.inc

  Log Message:
  -----------
  [lsan] Process non-suspended threads (#112807)

For such threads we have no registers, so no exact
stack range, and no guaranties that stack is mapped
at all.

To avoid crashes on unmapped memory,
 `MemCpyAccessible` copies intersting range into
 temporarily buffer, and we search for pointers there.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list