[llvm] e044283 - [memprof] Use GlobalValue::GUID instead of uint64_t (NFC) (#94086)

via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 2 08:59:36 PDT 2024


Author: Kazu Hirata
Date: 2024-06-02T08:59:32-07:00
New Revision: e044283996f6f2a157c2087cffa6618f32cc5ae8

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

LOG: [memprof] Use GlobalValue::GUID instead of uint64_t (NFC) (#94086)

Added: 
    

Modified: 
    llvm/include/llvm/ProfileData/MemProf.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ProfileData/MemProf.h b/llvm/include/llvm/ProfileData/MemProf.h
index e8683e8ac2b95..0e00b243c1575 100644
--- a/llvm/include/llvm/ProfileData/MemProf.h
+++ b/llvm/include/llvm/ProfileData/MemProf.h
@@ -216,7 +216,7 @@ struct Frame {
     IsInlineFrame = Other.IsInlineFrame;
   }
 
-  Frame(uint64_t Hash, uint32_t Off, uint32_t Col, bool Inline)
+  Frame(GlobalValue::GUID Hash, uint32_t Off, uint32_t Col, bool Inline)
       : Function(Hash), LineOffset(Off), Column(Col), IsInlineFrame(Inline) {}
 
   bool operator==(const Frame &Other) const {


        


More information about the llvm-commits mailing list