Reland "[memprof] Store callsite metadata with memprof records."
authorSnehasish Kumar <snehasishk@google.com>
Tue, 22 Mar 2022 21:40:02 +0000 (14:40 -0700)
committerSnehasish Kumar <snehasishk@google.com>
Tue, 22 Mar 2022 21:40:02 +0000 (14:40 -0700)
commit27a4f2545f335d5792a835aed1ce518a9c807e3b
tree81a808ba768f8e1ad691d1d03cfba288805697f0
parent61c75eb6372786e5bc4025bd9023376fded76bf2
Reland "[memprof] Store callsite metadata with memprof records."

This reverts commit f4b794427e8037a4e952cacdfe7201e961f31a6f.

Reland with underlying msan issue fixed in D122260.
12 files changed:
llvm/include/llvm/ProfileData/InstrProfWriter.h
llvm/include/llvm/ProfileData/MemProf.h
llvm/include/llvm/ProfileData/RawMemProfReader.h
llvm/lib/ProfileData/InstrProfWriter.cpp
llvm/lib/ProfileData/MemProf.cpp
llvm/lib/ProfileData/RawMemProfReader.cpp
llvm/test/tools/llvm-profdata/Inputs/inline.memprofexe [new file with mode: 0755]
llvm/test/tools/llvm-profdata/memprof-basic.test
llvm/test/tools/llvm-profdata/memprof-inline.test
llvm/tools/llvm-profdata/llvm-profdata.cpp
llvm/unittests/ProfileData/InstrProfTest.cpp
llvm/unittests/ProfileData/MemProfTest.cpp