diff options
author | Vedant Kumar <vsk@apple.com> | 2017-04-26 00:16:10 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2017-04-26 00:16:10 +0000 |
commit | 77deb5c7880c18c2e1112e508c1091bc3d872516 (patch) | |
tree | 0ca032935efd61e273811c6cb6defc78c4696450 /clang/lib/CodeGen/BackendUtil.cpp | |
parent | c5e84f14a22c8b5ea6e43f4ce675876afe67f2b5 (diff) | |
download | llvm-77deb5c7880c18c2e1112e508c1091bc3d872516.zip llvm-77deb5c7880c18c2e1112e508c1091bc3d872516.tar.gz llvm-77deb5c7880c18c2e1112e508c1091bc3d872516.tar.bz2 |
[gcov] Sort file info before printing it
The order in which GCOV file info is printed depends on the string hash
function. This makes some GCOV tests brittle, because the tests must be
updated whenever the hash function changes.
Sort the filenames before printing out the file info to solve the
problem. This should be relatively cheap.
Differential Revision: https://reviews.llvm.org/D32512
llvm-svn: 301371
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions