davidxl added inline comments. ================ Comment at: lib/profile/InstrProfiling.c:190 @@ +189,3 @@ + } + I->ValueCounters = (void *)PerSiteCountsHead; + PerSiteCountsHead = (uint8_t *)VDataPtr; ---------------- Release memory of ValueCounters ? http://reviews.llvm.org/D9009