aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-12-03 19:23:27 -0800
committerGitHub <noreply@github.com>2024-12-03 19:23:27 -0800
commita93b77ce49978dd8fb0d60d9aec8e300b67ce0b8 (patch)
tree7b834c99b9f0e68c778bb3b4f254848ba31dec0e /llvm/lib/CodeGen/MachineOperand.cpp
parente08e5e2c426467342dbe79fbf3ea9723c17a07d1 (diff)
downloadllvm-a93b77ce49978dd8fb0d60d9aec8e300b67ce0b8.zip
llvm-a93b77ce49978dd8fb0d60d9aec8e300b67ce0b8.tar.gz
llvm-a93b77ce49978dd8fb0d60d9aec8e300b67ce0b8.tar.bz2
[memprof] Fix IndexedMemProfRecord::clear (#118533)
This patch ensures that IndexedMemProfRecord::clear clears every field of IndexedMemProfRecord. This fix is not critical at the moment. The only use of this function is in RecordWriterTrait::EmitData to release the memory we are done with. That is, we never clear the data structure for the purpose of reusing it.
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions