[llvm] r357911 - Use llvm::crc32 instead of crc32. NFC
Eugene Leviant via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 8 06:40:58 PDT 2019
Author: evgeny777
Date: Mon Apr 8 06:40:58 2019
New Revision: 357911
URL: http://llvm.org/viewvc/llvm-project?rev=357911&view=rev
Log:
Use llvm::crc32 instead of crc32. NFC
Modified:
llvm/trunk/lib/DebugInfo/Symbolize/Symbolize.cpp
Modified: llvm/trunk/lib/DebugInfo/Symbolize/Symbolize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/Symbolize/Symbolize.cpp?rev=357911&r1=357910&r2=357911&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/Symbolize/Symbolize.cpp (original)
+++ llvm/trunk/lib/DebugInfo/Symbolize/Symbolize.cpp Mon Apr 8 06:40:58 2019
@@ -164,7 +164,7 @@ bool checkFileCRC(StringRef Path, uint32
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,
More information about the llvm-commits
mailing list