You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
573 B
19 lines
573 B
10 years ago
|
(*
|
||
|
* Copyright (c) 2013 - Facebook.
|
||
|
* All rights reserved.
|
||
|
*)
|
||
|
|
||
|
(** This module handles buckets of memory leaks in Objective-C *)
|
||
|
|
||
|
val objc_arc_flag : string
|
||
|
|
||
|
val init_buckets : string -> unit
|
||
|
|
||
|
(* Returns whether a memory leak should be raised. If objc_ml_buckets is not there, *)
|
||
|
(* then raise all memory leaks. *)
|
||
|
(* If cf is passed, then check leaks from Core Foundation. *)
|
||
|
(* If arc is passed, check leaks from code that compiles with arc*)
|
||
|
(* If no arc is passed check the leaks from code that compiles without arc *)
|
||
|
val should_raise_leak : Sil.typ -> string option
|
||
|
|