1. A method comprising: obtaining an instruction address; and encoding the instruction address; wherein said encoding comprises: identifying the instruction address as belonging to a particular one of a plurality of groups of instruction addresses associated with respective distinct program constructs; and encoding the instruction address based on the identified group.