Skip to content
Snippets Groups Projects
Commit fd491709 authored by Andre Maroneze's avatar Andre Maroneze
Browse files

add locations for warnings

parent a1961afa
No related branches found
No related tags found
No related merge requests found
...@@ -497,7 +497,7 @@ let register_predicate kf pred state = ...@@ -497,7 +497,7 @@ let register_predicate kf pred state =
params params
l l
with Invalid_argument _ -> with Invalid_argument _ ->
Options.warning Options.warning ~current:true
"ignoring effect of variadic function %a" "ignoring effect of variadic function %a"
Kernel_function.pretty Kernel_function.pretty
kf; kf;
...@@ -522,8 +522,8 @@ let register_predicate kf pred state = ...@@ -522,8 +522,8 @@ let register_predicate kf pred state =
in in
Dataflow.Done (Some state) Dataflow.Done (Some state)
| _ -> | _ ->
Options.warning "function pointers may introduce too limited \ Options.warning ~current:true
instrumentation."; "function pointers may introduce too limited instrumentation.";
(* imprecise function call: keep each argument *) (* imprecise function call: keep each argument *)
Dataflow.Done Dataflow.Done
(Some (Some
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment