[PATCH] D17006: Refactor PGO function naming and MD5 hashing support out of ProfileData
David Li via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 8 16:16:03 PST 2016
davidxl added inline comments.
================
Comment at: include/llvm/Support/MD5.h:70
@@ +69,3 @@
+/// Helper to compute and return a 64-bit MD5 Hash of a given string.
+static inline uint64_t MD5Hash(StringRef Str) {
+ MD5 Hash;
----------------
Remove the 'static' keyword here (obviously it was there before but not cleaned up) -- to avoid leaving multiple copies of the function when inlining does not happen.
http://reviews.llvm.org/D17006
More information about the llvm-commits
mailing list