If two functions are inserted to the same bucket, their order in the serialized profile is dependent on StringMap iteration order, which is not guaranteed to be deterministic. (https://llvm.org/docs/ProgrammersManual.html#llvm-adt-stringmap-h). Use a sort like we do in writeText.
29 KiB
29 KiB