[Index] Convert to hashing to HashBuilder with BLAKE3

`Hashing.h` is non-deterministic between runs. Update the index hashing
to use BLAKE3 for the record hash. xxhash is faster in benchmarks that
I've found, but there's no easy `HashBuilder` option for it today.
This commit is contained in:
Ben Barham
2024-10-18 15:35:31 -07:00
parent 008e6ee9f3
commit 10f43a8365
6 changed files with 109 additions and 67 deletions

View File

@@ -27,7 +27,7 @@ func test() {
// CHECK: [[MODB:SwiftModuleB.swiftmodule-[A-Z0-9]*]]
// CHECK: --------
// CHECK: has-main: 1
// CHECK: out-file: {{.*}}/SwiftModuleB.swiftmodule
// CHECK: out-file: {{.*}}{{/|\\}}SwiftModuleB.swiftmodule
// CHECK: DEPEND START
// CHECK: Unit | system | Swift | {{.*}}{{/|\\}}Swift.swiftmodule
// CHECK: Unit | user | SwiftModuleA | {{.*}}{{/|\\}}SwiftModuleA.swiftmodule