diff options
| author | Teresa Johnson <tejohnson@google.com> | 2025-08-01 12:51:12 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-01 12:51:12 -0700 |
| commit | dc90472532702b202e93839c6d980d3b584a60cf (patch) | |
| tree | 1cbb53135824c2053895f6ef3c1109be7a8dd8a7 /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp | |
| parent | 9fdb5e1fef223c777d9cdf2f6d5eaffb33c59b0d (diff) | |
[MemProf] Ensure node merging happens for newly created nodes (#151593)
We weren't performing node merging on newly created nodes in some cases.
Use a simple iteration over the node and its callers until no more
opportunities are found. I confirmed that for several large codes the
max iterations is 3 (meaning we only needed to do any work on the first
2, as expected). This can potentially be made more elegant in the
future, but it is a simple and effective solution.
Also fix a bug exposed by the test case, getting the function for a call
instruction in the FullLTO handling, using an existing method to look
through aliases if needed.
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions
