[all-commits] [llvm/llvm-project] 47d7a8: [lldb/Util] Use md5 instead of python's hash funct...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Jan 23 16:37:08 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 47d7a81ba4bb4be2e6027fb44aa4cbfaffe9c3f2
      https://github.com/llvm/llvm-project/commit/47d7a81ba4bb4be2e6027fb44aa4cbfaffe9c3f2
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M lldb/utils/lldb-repro/lldb-repro.py

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list