diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2018-07-26 23:34:35 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2018-07-26 23:34:35 +0000 |
commit | b148c9809b7d7c00014923046bffc2045436bbd8 (patch) | |
tree | c6600f419f31f8bc0b4d3aa09f529fdd3fd26f95 /libcxx/test/std/experimental/filesystem/class.path/path.member/path.concat.pass.cpp | |
parent | 2eb7a7a9a3670347e6f19ae3d9473cdb56860021 (diff) | |
download | bcm5719-llvm-b148c9809b7d7c00014923046bffc2045436bbd8.tar.gz bcm5719-llvm-b148c9809b7d7c00014923046bffc2045436bbd8.zip |
ELF: Make --print-icf-sections output deterministic.
The icf-safe.s test currently fails on 32-bit platforms because it uses
the --print-icf-sections flag and depends on the output appearing in
a specific order. However, this flag causes the output to depend on
the order of the sections in the Sections array, which depends on the
hash values returned from hash_combine, which happen to be different
for that test between 32-bit and 64-bit platforms.
This change makes the output deterministic by using xxHash64 instead of
hash_combine.
Differential Revision: https://reviews.llvm.org/D49877
llvm-svn: 338088
Diffstat (limited to 'libcxx/test/std/experimental/filesystem/class.path/path.member/path.concat.pass.cpp')
0 files changed, 0 insertions, 0 deletions