[cost] log unmodeled function in cost analysis

Summary: Log unmodeled function in cost analysis and send result to scuba.

Reviewed By: ezgicicek

Differential Revision: D22158510

fbshipit-source-id: c6eade67e
master
Qianyi Shu 5 years ago committed by Facebook GitHub Bot
parent 2d4b3c9acd
commit 3a338e6960

@ -99,6 +99,10 @@ module InstrBasicCost = struct
CostDomain.unit_cost_atomic_operation
else instantiated_cost
| `NotFound ->
ScubaLogging.log_message ~label:"unmodeled_function_cost_analysis"
~message:
(F.asprintf "Unmodeled Function[Cost Analysis] : %a" Procname.pp
callee_pname) ;
CostDomain.unit_cost_atomic_operation ) )
in
if is_allocation_function callee_pname then

Loading…
Cancel
Save