resolve targets for callsite.