[all-commits] [llvm/llvm-project] 69215c: [SafeStack] Introduce public interface header and ...

Jakob Koschel via All-commits all-commits at lists.llvm.org
Tue Jun 9 00:39:56 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69215c5e4f03253d78218bf5ac55f81b90118082
      https://github.com/llvm/llvm-project/commit/69215c5e4f03253d78218bf5ac55f81b90118082
  Author: Jakob Koschel <jakobkoschel at google.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/SafeStack.rst
    M clang/lib/Sema/SemaChecking.cpp
    A clang/test/Sema/safestack-deprecated-builtins.c
    M compiler-rt/include/CMakeLists.txt
    A compiler-rt/include/sanitizer/safestack_interface.h
    M compiler-rt/lib/safestack/CMakeLists.txt
    M compiler-rt/lib/safestack/safestack.cpp
    M compiler-rt/test/safestack/sigaltstack.c

  Log Message:
  -----------
  [SafeStack] Introduce public interface header and deprecate builtins (#198292)

Introduce `sanitizer/safestack_interface.h` to expose SafeStack utility
functions as a public interface, similar to other sanitizers.

Exposed functions:
* `__safestack_get_unsafe_stack_ptr`
* `__safestack_get_unsafe_stack_bottom`
* `__safestack_get_unsafe_stack_top`

Deprecate the existing `__builtin___get_unsafe_stack_*` builtins and
emit warnings suggesting the new `__safestack_` equivalents.

Runtime compatibility aliases `__get_unsafe_stack_*` are maintained.



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