diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-14 15:38:48 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-14 15:38:48 +0000 |
| commit | 5894cadf20b9970848068ff54fa4e2bfd0a9683b (patch) | |
| tree | d2cbfed3f6ec3aaf3c88cfee1f6512e155cc82f8 /lib/scudo/scudo_utils.cpp | |
| parent | 3bce7d2fca357e6a1db9eff4a1c58545a3020f1b (diff) | |
vendor/compiler-rt/compiler-rt-release_40-r292951vendor/compiler-rt/compiler-rt-release_40-r292732vendor/compiler-rt/compiler-rt-release_40-r292009
Notes
Diffstat (limited to 'lib/scudo/scudo_utils.cpp')
| -rw-r--r-- | lib/scudo/scudo_utils.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/scudo/scudo_utils.cpp b/lib/scudo/scudo_utils.cpp index c0269ec11efb..ffa65b219fd1 100644 --- a/lib/scudo/scudo_utils.cpp +++ b/lib/scudo/scudo_utils.cpp @@ -185,8 +185,7 @@ const static u32 CRC32Table[] = { 0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, 0x2d02ef8d }; -u32 computeCRC32(u32 Crc, uptr Data) -{ +u32 computeSoftwareCRC32(u32 Crc, uptr Data) { for (uptr i = 0; i < sizeof(Data); i++) { Crc = CRC32Table[(Crc ^ Data) & 0xff] ^ (Crc >> 8); Data >>= 8; |
