[Prev][Next][Index]

Re: SgFunctionSymb::numberOfParameters returns bogus value




>Could you run dumpdep again and compare symbol table entries for
> Processor_Main
>before and after the instrumentation?
>In particular, check out the field called in_l
>it should be 
>
>in_l=   ----
>in both cases, but I suspect that it becomes something else after  
>instrumentation.

And you are right:

---------------------------------------------------------------------------
BEFORE INSTRUMENTATION:
 630-S  509    9-T    0   ----    1-B Processor_Main n_in=    0 n_out=    0 n_io=    0
	                               in_l=   ---- out_l=   ---- sy_l=   ---- p_hdr=  254-B     FUNCTION_NAME


AFTER INSTRUMENTATION:
 653-S  509    9-T    0  655-S    1-B Processor_Main n_in=    0 n_out=    0 n_io=    0
	                               in_l=  654-S out_l=   ---- sy_l=   ---- p_hdr=  274-B     FUNCTION_NAME
 654-S  503  527-T    0   ----  274-B         pcxx_P local=   0 nxt_in=  ---- nxt_out=  ----     VARIABLE_NAME
---------------------------------------------------------------------------

What is the in_l field, anyway?

--lars