[all-commits] [llvm/llvm-project] 16aa39: [scudo] Update error handling for seondary cache e...

Joshua Baehring via All-commits all-commits at lists.llvm.org
Mon Jun 17 14:06:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16aa39ad94350670f4d72dace0a4866fbe10d716
      https://github.com/llvm/llvm-project/commit/16aa39ad94350670f4d72dace0a4866fbe10d716
  Author: Joshua Baehring <98630690+JoshuaMBa at users.noreply.github.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/secondary.h
    M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp

  Log Message:
  -----------
  [scudo] Update error handling for seondary cache entry count (#95595)

Initially, the scudo allocator would return an error if the user
attempted to set the cache capacity
(i.e. the number of possible entries in the cache) above the maximum
cache capacity.
Now the allocator will resort to using the maximum cache capacity in
this event.
An error will still be returned if the user attempts to set the number
of entries to a negative value.



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