[all-commits] [llvm/llvm-project] 1594fa: [asan][win] Fix CreateThread leak (#126738)

GkvJwa via All-commits all-commits at lists.llvm.org
Thu Feb 27 17:38:29 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1594fa8e5a719b33b1cd584af92e06981d6b3e59
      https://github.com/llvm/llvm-project/commit/1594fa8e5a719b33b1cd584af92e06981d6b3e59
  Author: GkvJwa <gkvjwa at gmail.com>
  Date:   2025-02-28 (Fri, 28 Feb 2025)

  Changed paths:
    M compiler-rt/lib/asan/asan_win.cpp

  Log Message:
  -----------
  [asan][win] Fix CreateThread leak (#126738)

Fix #126541

Since ```t->Destroy``` cannot be called after ```start_routine```(When
calling standard thread_start in crt)

Intercept `ExitThread` and free the memory created by `VirtualAlloc'



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