This commit is contained in:
Antonio Andelic 2024-06-05 10:36:48 +02:00
parent 69fd05cb55
commit a0acea74c0

View File

@ -54,13 +54,8 @@ static bool guarded_alloc_initialized = []
auto & opts = gwp_asan::options::getOptions();
opts.Backtrace = getBackTrace;
opts.MaxSimultaneousAllocations = 256; /// for testing
GuardedAlloc.init(opts);
///std::cerr << "GwpAsan is initialized, the options are { Enabled: " << opts.Enabled
/// << ", MaxSimultaneousAllocations: " << opts.MaxSimultaneousAllocations
/// << ", SampleRate: " << opts.SampleRate << " }\n";
return true;
}();