Re: [GOOGLE] Represent the callsite with lineno only for AutoFDO

2013-10-09 Thread Xinliang David Li
Ok (please add a short comment on the decl_lineno which encodes discriminator in it). David On Wed, Oct 9, 2013 at 4:57 PM, Dehao Chen wrote: > In legacy AutoFDO, callsite is represented as a (lineno, callee_name) > pair because there could be multiple calls in one line. However, as we > enhance

[GOOGLE] Represent the callsite with lineno only for AutoFDO

2013-10-09 Thread Dehao Chen
In legacy AutoFDO, callsite is represented as a (lineno, callee_name) pair because there could be multiple calls in one line. However, as we enhanced the debug info by assigning discriminators for each function call in the same line, callee_name is not needed when indexing the callsite. This patch