diff options
author | Kazu Hirata <kazu@google.com> | 2024-11-18 14:09:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-18 14:09:21 -0800 |
commit | a4e1a3dc8bc9bb971d8a38130254b4570f8b7a03 (patch) | |
tree | 7bc3db559af92f3f5a232bf6e26e57725ca3d880 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | e0b522dd94e48229d587a54a3103ba1c198b16a7 (diff) | |
download | llvm-a4e1a3dc8bc9bb971d8a38130254b4570f8b7a03.zip llvm-a4e1a3dc8bc9bb971d8a38130254b4570f8b7a03.tar.gz llvm-a4e1a3dc8bc9bb971d8a38130254b4570f8b7a03.tar.bz2 |
[memprof] Add another constructor to IndexedAllocationInfo (NFC) (#116684)
This patch adds another constructor to IndexedAllocationInfo that is
identical to the existing constructor except that the new one leaves
the CallStack field empty.
I'm planning to remove MemProf format Version 1. Then we will migrate
the users of the existing constructor to the new one as nobody will be
using the CallStack field anymore.
Adding the new constructor now allows us to migrate a few existing
users of the old constructor even before we remove the CallStack
field. In turn, that simplifies the patch to actually remove the
field.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions