OSDN Git Service

[lldb/Util] Use md5 instead of python's hash function.
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 24 Jan 2020 00:35:42 +0000 (16:35 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 24 Jan 2020 00:37:03 +0000 (16:37 -0800)
commit47d7a81ba4bb4be2e6027fb44aa4cbfaffe9c3f2
treee5d0ff408cb38d0b5f3623294de5caf3d96fb093
parent19c76989bb505c3117730c47df85fd3800ea2767
[lldb/Util] Use md5 instead of python's hash function.

Because of the way the Python hash function works, it's not guaranteed
to be the same. This was causing a lot of reproducers to be generated
for the same tests, even though the CWD or arguments didn't change.
Switching to an MD5 hash should fix that.
lldb/utils/lldb-repro/lldb-repro.py