[llvm] [memprof] Use GlobalValue::GUID instead of uint64_t (NFC) (PR #94086)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Fri May 31 18:58:12 PDT 2024
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/94086
None
>From 3bb8df50869cb864a0d3ef5c0a6b6557062f8974 Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
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 {
More information about the llvm-commits
mailing list