[all-commits] [llvm/llvm-project] 0dbd80: [scudo] Only init RingBuffer when needed. (#85994)

Christopher Ferris via All-commits all-commits at lists.llvm.org
Fri Mar 29 09:44:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0dbd804a690720688d8234d8bdaee8f8f4fdcddc
      https://github.com/llvm/llvm-project/commit/0dbd804a690720688d8234d8bdaee8f8f4fdcddc
  Author: Christopher Ferris <cferris1000 at users.noreply.github.com>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/combined.h
    M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp

  Log Message:
  -----------
  [scudo] Only init RingBuffer when needed. (#85994)

Only attempt to initialize the ring buffer when tracking is enabled.

Updated unit tests, and added a few new unit tests to verify the
RingBuffer is not initialized by default.

Verified that the two maps associated with the RingBuffer are not
created in processes by default.



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