[llvm] r344304 - [SampleFDO][NFC] Remove debugging log left over in the code.

Wei Mi via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 11 15:14:27 PDT 2018


Author: wmi
Date: Thu Oct 11 15:14:27 2018
New Revision: 344304

URL: http://llvm.org/viewvc/llvm-project?rev=344304&view=rev
Log:
[SampleFDO][NFC] Remove debugging log left over in the code.


Modified:
    llvm/trunk/include/llvm/ProfileData/SampleProf.h

Modified: llvm/trunk/include/llvm/ProfileData/SampleProf.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ProfileData/SampleProf.h?rev=344304&r1=344303&r2=344304&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ProfileData/SampleProf.h (original)
+++ llvm/trunk/include/llvm/ProfileData/SampleProf.h Thu Oct 11 15:14:27 2018
@@ -488,8 +488,6 @@ public:
   // If the format is SPF_Compact_Binary, the name is already a GUID and we
   // don't want to return the GUID of GUID.
   static uint64_t getGUID(StringRef Name) {
-    if (Format == SPF_Compact_Binary)
-      errs() << Name << '\n';
     return (Format == SPF_Compact_Binary) ? std::stoull(Name.data())
                                           : Function::getGUID(Name);
   }




More information about the llvm-commits mailing list