aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-11-26 14:33:45 -0800
committerGitHub <noreply@github.com>2024-11-26 14:33:45 -0800
commit5add295fd77e29f090515668f95d362d98583856 (patch)
tree4ae4ee79beac4a47d50cb1fb977e09d78dbcbc6a /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
parent8ffe63fb556915c041e8e9bc2d1bf4325f12ba26 (diff)
downloadllvm-5add295fd77e29f090515668f95d362d98583856.zip
llvm-5add295fd77e29f090515668f95d362d98583856.tar.gz
llvm-5add295fd77e29f090515668f95d362d98583856.tar.bz2
[memprof] Use IndexedMemProfRecord in MemProfReader (NFC) (#117613)
IndexedMemProfRecord contains a complete package of the MemProf profile, including frames, call stacks, and records. This patch replaces the three member variables of MemProfReader with IndexedMemProfRecord. This transition significantly simplies both the constructor and the final "take" method: MemProfReader(IndexedMemProfData MemProfData) : MemProfData(std::move(MemProfData)) {} IndexedMemProfData takeMemProfData() { return std::move(MemProfData); }
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions