[llvm-branch-commits] [llvm] 33a8466 - [NFC] fix missing SectionName declaration

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jan 13 11:35:25 PST 2021


Author: wlei
Date: 2021-01-13T11:30:09-08:00
New Revision: 33a8466531e68698dc735a0a8dcb97eb41b35ba6

URL: https://github.com/llvm/llvm-project/commit/33a8466531e68698dc735a0a8dcb97eb41b35ba6
DIFF: https://github.com/llvm/llvm-project/commit/33a8466531e68698dc735a0a8dcb97eb41b35ba6.diff

LOG: [NFC] fix missing SectionName declaration

Added: 
    

Modified: 
    llvm/tools/llvm-profgen/PseudoProbe.h

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-profgen/PseudoProbe.h b/llvm/tools/llvm-profgen/PseudoProbe.h
index de4857088a73..25769cad8805 100644
--- a/llvm/tools/llvm-profgen/PseudoProbe.h
+++ b/llvm/tools/llvm-profgen/PseudoProbe.h
@@ -178,10 +178,8 @@ class PseudoProbeDecoder {
   /// Points to the end of the buffer.
   const uint8_t *End = nullptr;
 
-#ifndef NDEBUG
   /// SectionName used for debug
   std::string SectionName;
-#endif
 
   // Decoding helper function
   template <typename T> T readUnencodedNumber();


        


More information about the llvm-branch-commits mailing list