Searched refs:MaxSimultaneousAllocations (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/lib/gwp_asan/tests/ |
| H A D | harness.h | 47 MaxSimultaneousAllocations = Opts.MaxSimultaneousAllocations; in SetUp() 57 decltype(gwp_asan::options::Options::MaxSimultaneousAllocations) 58 MaxSimultaneousAllocations; 64 InitNumSlots(decltype(gwp_asan::options::Options::MaxSimultaneousAllocations) in InitNumSlots() 69 Opts.MaxSimultaneousAllocations = MaxSimultaneousAllocationsArg; in InitNumSlots() 70 MaxSimultaneousAllocations = MaxSimultaneousAllocationsArg; in InitNumSlots() 80 decltype(gwp_asan::options::Options::MaxSimultaneousAllocations) 81 MaxSimultaneousAllocations;
|
| H A D | crash_handler_api.cpp | 44 State.MaxSimultaneousAllocations = 4; // 0x3000, 0x5000, 0x7000, 0x9000. in setupState()
|
| /llvm-project-15.0.7/compiler-rt/lib/gwp_asan/ |
| H A D | guarded_pool_allocator.cpp | 51 Opts.MaxSimultaneousAllocations == 0) in init() 56 Check(Opts.MaxSimultaneousAllocations >= 0, in init() 69 State.MaxSimultaneousAllocations = Opts.MaxSimultaneousAllocations; in init() 77 PageSize * (1 + State.MaxSimultaneousAllocations) + in init() 78 State.MaxSimultaneousAllocations * State.maximumAllocationSize(); in init() 89 State.MaxSimultaneousAllocations * sizeof(*FreeSlots), PageSize); in init() 126 for (size_t i = 0; i < State.MaxSimultaneousAllocations; ++i) { in iterate() 142 roundUpTo(State.MaxSimultaneousAllocations * sizeof(*Metadata), in uninitTestOnly() 148 roundUpTo(State.MaxSimultaneousAllocations * sizeof(*FreeSlots), in uninitTestOnly() 336 if (NumSampledAllocations < State.MaxSimultaneousAllocations) in reserveSlot() [all …]
|
| H A D | common.cpp | 98 return MaxSimultaneousAllocations - 1; in getNearestSlot()
|
| H A D | common.h | 131 size_t MaxSimultaneousAllocations = 0; member
|
| H A D | options.inc | 26 GWP_ASAN_OPTION(int, MaxSimultaneousAllocations, 16,
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | GwpAsan.rst | 157 GWP_ASAN_OPTIONS="MaxSimultaneousAllocations=16:SampleRate=5000" ./a.out 164 return "MaxSimultaneousAllocations=16:SampleRate=5000"; 181 | MaxSimultaneousAllocations | 16 | Number of simultaneously-guarded allocations available in …
|
| /llvm-project-15.0.7/compiler-rt/lib/gwp_asan/optional/ |
| H A D | options_parser.cpp | 236 if (o->MaxSimultaneousAllocations <= 0) { in initOptions()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | combined.h | 184 Opt.MaxSimultaneousAllocations = in initGwpAsan() 203 Stats.add(StatFree, static_cast<uptr>(Opt.MaxSimultaneousAllocations) * in initGwpAsan()
|