Make these arguments named constants in the Config class instead
of being positional arguments to MapAllocatorCache. This makes the
configuration easier to follow.
Eventually we should follow suit with the other classes but this is
a start.
Paths
| Differential D93251
scudo: Remove positional template arguments for secondary cache. NFCI. ClosedPublic Authored by pcc on Dec 14 2020, 2:58 PM.
Details Summary Make these arguments named constants in the Config class instead Eventually we should follow suit with the other classes but this is
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 14 2020, 3:10 PM This revision was landed with ongoing or failed builds.Dec 14 2020, 3:40 PM Closed by commit rGf21f3339ba31: scudo: Remove positional template arguments for secondary cache. NFCI. (authored by pcc). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 311730 compiler-rt/lib/scudo/standalone/allocator_config.h
compiler-rt/lib/scudo/standalone/combined.h
compiler-rt/lib/scudo/standalone/secondary.h
compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
|