CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/11/04 06:09:23
Modified files:
gnu/llvm/libunwind/src: AddressSpace.hpp UnwindCursor.hpp
Log message:
take 2: re-apply two commits that were lost while merging the 19.1.7 update
Reintroduce a tweaked version of the IP-based caching implementation.
Implementing a custom "new" operator has the two following desirable
properties:
- make the code more standalone, not depending on "new" from libcxx.
- teach this allocator to return nullptr on memory shortage ("noexcept")
so it can fail gracefully. If we can't allocate an item, we just don't
cache it.
That should be more resilient to memory shortages and thus more usable
from libexecinfo.
ok rsadowski@ robert@