diff options
author | wlei <wlei@fb.com> | 2020-12-07 22:01:17 -0800 |
---|---|---|
committer | wlei <wlei@fb.com> | 2020-12-07 22:36:25 -0800 |
commit | eea67baf8706d82268d26e908cf5415c5af114ff (patch) | |
tree | 8eb8f64cc77055b6722486cada8c87597d13c530 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 5e85a2ba1645c3edbf26bba096631fbd318ada47 (diff) | |
download | llvm-eea67baf8706d82268d26e908cf5415c5af114ff.zip llvm-eea67baf8706d82268d26e908cf5415c5af114ff.tar.gz llvm-eea67baf8706d82268d26e908cf5415c5af114ff.tar.bz2 |
[llvm-profgen][NFC] Fix test failure by making unwinder's output deterministic
Don't know why under Sanitizer build(asan/msan/ubsan), the `std::unordered_map<string, ...>`'s output order is reversed, make the regression test failed.
This change creates a workaround by using sorted container to make the output deterministic.
Reviewed By: hoy, wenlei
Differential Revision: https://reviews.llvm.org/D92816
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions