mehdi_amini added a subscriber: mehdi_amini. mehdi_amini added a comment. It'd be nice if the getEntryFor API provided a way for the caller to know if an insertion happened (i.e. using an API like insert()). https://reviews.llvm.org/D23431