[compiler-rt] [scudo] Add time-based release to OS logic. (PR #103303)

Joshua Baehring via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 13 11:41:49 PDT 2024


JoshuaMBa wrote:




> This is a fix, please mention that in the title and the description. In addition, I think this can be covered by the test, right? If so, please add a test case.

The main issue with testing this is that the interval at which the issue occurs is somewhat arbitrary. I can try different cache sizes and interval values to determine a point where the error occurs, but I don't think that's a robust way of testing this case. I will try coming up with a better way of testing this outside of the current `CacheOrder` test.

https://github.com/llvm/llvm-project/pull/103303


More information about the llvm-commits mailing list