[all-commits] [llvm/llvm-project] eea67b: [llvm-profgen][NFC] Fix test failure by making unw...
ictwanglei via All-commits
all-commits at lists.llvm.org
Mon Dec 7 22:42:01 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: eea67baf8706d82268d26e908cf5415c5af114ff
https://github.com/llvm/llvm-project/commit/eea67baf8706d82268d26e908cf5415c5af114ff
Author: wlei <wlei at fb.com>
Date: 2020-12-07 (Mon, 07 Dec 2020)
Changed paths:
M llvm/test/tools/llvm-profgen/inline-cs-noprobe.test
M llvm/tools/llvm-profgen/PerfReader.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list