From: Eugene Leviant Date: Mon, 8 Apr 2019 13:40:58 +0000 (+0000) Subject: Use llvm::crc32 instead of crc32. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7721ae87dc47dd14365f7ca6a743b385f3441e3;p=llvm Use llvm::crc32 instead of crc32. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357911 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/DebugInfo/Symbolize/Symbolize.cpp b/lib/DebugInfo/Symbolize/Symbolize.cpp index 52192287b71..7e91a20416b 100644 --- a/lib/DebugInfo/Symbolize/Symbolize.cpp +++ b/lib/DebugInfo/Symbolize/Symbolize.cpp @@ -164,7 +164,7 @@ bool checkFileCRC(StringRef Path, uint32_t CRCHash) { MemoryBuffer::getFileOrSTDIN(Path); if (!MB) return false; - return CRCHash == crc32(0, MB.get()->getBuffer()); + return CRCHash == llvm::crc32(0, MB.get()->getBuffer()); } bool findDebugBinary(const std::string &OrigPath,