]> granicus.if.org Git - llvm/commitdiff
Use llvm::crc32 instead of crc32. NFC
authorEugene Leviant <eleviant@accesssoftek.com>
Mon, 8 Apr 2019 13:40:58 +0000 (13:40 +0000)
committerEugene Leviant <eleviant@accesssoftek.com>
Mon, 8 Apr 2019 13:40:58 +0000 (13:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357911 91177308-0d34-0410-b5e6-96231b3b80d8

lib/DebugInfo/Symbolize/Symbolize.cpp

index 52192287b719334198c1e1ddfd073b5e12b12dc8..7e91a20416b202efe668d25fa7c3c0b7428db901 100644 (file)
@@ -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,