reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
  109   if (!Opts.Enabled || Opts.SampleRate == 0 ||
  109   if (!Opts.Enabled || Opts.SampleRate == 0 ||
  110       Opts.MaxSimultaneousAllocations == 0)
  120   if (Opts.SampleRate < 0) {
  121     Opts.Printf("GWP-ASan Error: SampleRate is < 0.\n");
  125   if (Opts.SampleRate > INT32_MAX) {
  126     Opts.Printf("GWP-ASan Error: SampleRate is > 2^31.\n");
  130   if (Opts.MaxSimultaneousAllocations < 0) {
  131     Opts.Printf("GWP-ASan Error: MaxSimultaneousAllocations is < 0.\n");
  137   MaxSimultaneousAllocations = Opts.MaxSimultaneousAllocations;
  141   PerfectlyRightAlign = Opts.PerfectlyRightAlign;
  142   Printf = Opts.Printf;
  143   Backtrace = Opts.Backtrace;
  144   if (Opts.PrintBacktrace)
  145     PrintBacktrace = Opts.PrintBacktrace;
  165   if (Opts.SampleRate != 1)
  166     AdjustedSampleRate = static_cast<uint32_t>(Opts.SampleRate) * 2;
  177   if (Opts.InstallSignalHandlers)