Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[scudo] Test secondary cache options only if enabled (llvm#95872)
Configs that use `MapAllocatorNoCache` for its secondary cache will return `false` if `setOption` is called with some [specific options](https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/scudo/standalone/secondary.h#L104), and this breaks with the `SecondaryOptions` test. This change will gate testing all `setOption` expectations for cache options only if the allocator cache is enabled. This will unblock [github.com/llvm/pull/95595 ](llvm#95595) from merging into Fuchsia.
- Loading branch information