This change has caused non-reproducibility of a self-build of Clang when using NewPM and providing profile data. This reverts commit 35f38583.