From 3bb8df50869cb864a0d3ef5c0a6b6557062f8974 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 31 May 2024 18:56:59 -0700 Subject: [PATCH] [memprof] Use GlobalValue::GUID instead of uint64_t (NFC) --- llvm/include/llvm/ProfileData/MemProf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {