[PATCH] D59816: [Support] Implement zlib independent crc32 computation

Eugene Leviant via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 26 05:22:30 PDT 2019


evgeny777 created this revision.
evgeny777 added reviewers: jhenderson, rupprecht, samsonov.
Herald added subscribers: jdoerfert, aprantl, mgorny.

The .gnu_debuglink section contains CRC32 checksum of debug information file. When LLVM is compiled without zlib support this checksum is completely ignored, which is error prone. This patch implements simple CRC32 calculation algorithm.


https://reviews.llvm.org/D59816

Files:
  include/llvm/Support/CRC.h
  lib/DebugInfo/Symbolize/Symbolize.cpp
  lib/Support/CMakeLists.txt
  lib/Support/CRC.cpp
  unittests/Support/CMakeLists.txt
  unittests/Support/CRCTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59816.192260.patch
Type: text/x-patch
Size: 7873 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190326/d1954441/attachment.bin>


More information about the llvm-commits mailing list