[all-commits] [llvm/llvm-project] 131cf7: [AllocToken] Enable alloc token instrumentation fo...

Aleksandr Nogikh via All-commits all-commits at lists.llvm.org
Thu Nov 20 01:33:46 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 131cf7d5b2aa29b8018ac6422515ad2f522008c9
      https://github.com/llvm/llvm-project/commit/131cf7d5b2aa29b8018ac6422515ad2f522008c9
  Author: Aleksandr Nogikh <nogikh at google.com>
  Date:   2025-11-20 (Thu, 20 Nov 2025)

  Changed paths:
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/test/CodeGenCXX/alloc-token.cpp

  Log Message:
  -----------
  [AllocToken] Enable alloc token instrumentation for size-returning functions (#168840)

Consider a newly added "malloc_span" attribute in the allocation token
instrumentation to ensure that allocation functions with the
"malloc_span" attribute are processed similarly to other memory
allocation functions.

Update the tests to demonstrate applicability to __size_returning_new.



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