Duplicate records in instrumented profile data?

OK, thanks. If you give me a pointer, I'll get started. I'm goofing
around this part of the code, anyway, so I might as well keep going.

I've created https://llvm.org/bugs/show_bug.cgi?id=23499 for tracking.

Diego.