The purpose of this IR pass is to describe argument values on caller site. Pass has been added to the default<O2> pass pipeline, right before DeadArgumentEliminationPass. It attaches params field to DILocation of call instructions, which represents an array of DICallSiteParam elements. Information about call-site-value is carried through the pipeline, so in the phase of DWARF emitting, we can try to interpret those values as DWARF tag DW_TAG_call_site_parameter. For DWARF emission, it is necessary to have CallSiteInfo support by the target. For now, constant arguments passing is supported.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
@milica-lazarevic I think this should be closed in favor of the patches that are currently in the process of upstreaming (e.g. D151330 ant the others from @fdeazeve).