[all-commits] [llvm/llvm-project] cbc663: [compiler-rt][common] Don't unmap stacks not mappe...

Paul Kirth via All-commits all-commits at lists.llvm.org
Mon Feb 23 13:51:27 PST 2026


  Branch: refs/heads/users/ilovepi/signalstack
  Home:   https://github.com/llvm/llvm-project
  Commit: cbc6633acd6b1c23b953e16c4ab011e2f2421d6b
      https://github.com/llvm/llvm-project/commit/cbc6633acd6b1c23b953e16c4ab011e2f2421d6b
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2026-02-20 (Fri, 20 Feb 2026)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp

  Log Message:
  -----------
  [compiler-rt][common] Don't unmap stacks not mapped by the runtime

When the sanitizer hasn't mapped the alternate signal stack, but the
host program has (like LLVM), the runtime still tries to unilaterally
unmap the alternate stack. Instead, the runtime should just check if
it's actually mmaped the alternate stack, and only unmap it if it has.


  Commit: 0b7de5837b1db8a3cf26d046ddb4d9562e12776b
      https://github.com/llvm/llvm-project/commit/0b7de5837b1db8a3cf26d046ddb4d9562e12776b
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2026-02-20 (Fri, 20 Feb 2026)

  Changed paths:
    M compiler-rt/lib/asan/asan_thread.cpp
    M compiler-rt/lib/asan/asan_thread.h
    M compiler-rt/lib/sanitizer_common/sanitizer_common.h
    M compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_win.cpp

  Log Message:
  -----------
  Use AsanThread to store pointer


  Commit: 344812801f2e3f941a140ff9c8eabebf7bb7843d
      https://github.com/llvm/llvm-project/commit/344812801f2e3f941a140ff9c8eabebf7bb7843d
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2026-02-23 (Mon, 23 Feb 2026)

  Changed paths:
    A compiler-rt/test/asan/TestCases/Posix/multiple_sigaltstack.cpp

  Log Message:
  -----------
  Add test case


Compare: https://github.com/llvm/llvm-project/compare/7ba94c2e1fa0...344812801f2e

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