[llvm] [memprof] Refactor getMemProfRecord (NFC) (PR #93138)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Thu May 23 09:56:27 PDT 2024
================
@@ -649,6 +649,8 @@ class InstrProfReaderRemapper {
class IndexedMemProfReader {
private:
+ /// The MemProf version.
----------------
kazutakahirata wrote:
Yes, `IndexedMemProfReader::deserialize` initializes `Version` so that `IndexedMemProfReader::getMemProfRecord` can use it in the `switch` statement there.
https://github.com/llvm/llvm-project/pull/93138
More information about the llvm-commits
mailing list