diff options
author | Kazu Hirata <kazu@google.com> | 2024-12-04 20:33:35 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-04 20:33:35 -0800 |
commit | 50f8580e2cded758627b8d9478b56d5443aa6d7c (patch) | |
tree | 8d9e7e9ddfda6fbc50e7df4ed6f0c6b1d84d62ba /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 7f72d71de7c3b7d36d9f463b1459a6d2f6c989e6 (diff) | |
download | llvm-50f8580e2cded758627b8d9478b56d5443aa6d7c.zip llvm-50f8580e2cded758627b8d9478b56d5443aa6d7c.tar.gz llvm-50f8580e2cded758627b8d9478b56d5443aa6d7c.tar.bz2 |
[memprof] Add IndexedMemProfData::addFrame (#118724)
This patch adds a helper function to replace an idiom like:
FrameId Id = F.hash();
MemProfData.Frames.try_emplace(Id, F);
// Do something with Id.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions