Skip to content

Commit

Permalink
Missed a crc32 in the llvm_z_brl patch
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Jun 27, 2024
1 parent 4277666 commit c6ef344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/llvm_z_brl.patch
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ diff -Naur llvm-project/llvm/lib/Support/CRC.cpp LLVM_BLD/llvm/lib/Support/CRC.c
#endif

-uint32_t llvm::crc32(ArrayRef<uint8_t> Data) { return crc32(0, Data); }
+uint32_t llvm::brl_crc32(ArrayRef<uint8_t> Data) { return crc32(0, Data); }
+uint32_t llvm::brl_crc32(ArrayRef<uint8_t> Data) { return brl_crc32(0, Data); }

void JamCRC::update(ArrayRef<uint8_t> Data) {
CRC ^= 0xFFFFFFFFU; // Undo CRC-32 Init.
Expand Down

0 comments on commit c6ef344

Please sign in to comment.