commit | 23d68908bac60ad89b24fdd95ab8bab539f700ea | [log] [tgz] |
---|---|---|
author | Nico Weber <nicolasweber@gmx.de> | Sat Sep 15 18:35:51 2018 +0000 |
committer | Nico Weber <nicolasweber@gmx.de> | Sat Sep 15 18:35:51 2018 +0000 |
tree | 66a53932a3ca1c1737ea6688486f71bfd834af08 | |
parent | 53bb7b2cc4a706111c25f7c84a82f4a97b3fad8e [diff] |
Give InfoStreamBuilder an opt-in method to write a hash of the PDB as GUID. Naively computing the hash after the PDB data has been generated is in practice as fast as other approaches I tried. I also tried online-computing the hash as parts of the PDB were written out (https://reviews.llvm.org/D51887; that's also where all the measuring data is) and computing the hash in parallel (https://reviews.llvm.org/D51957). This approach here is simplest, without being slower. Differential Revision: https://reviews.llvm.org/D51956 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342333 91177308-0d34-0410-b5e6-96231b3b80d8