summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-05-23 14:13:20 -0700
committerGitHub <noreply@github.com>2024-05-23 14:13:20 -0700
commit8ad980d7dc7070aa9ccb226b92d5dfa3c75d8652 (patch)
treeeb707d4360acd5ef6310dd78208528fda8aa9814 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent87452bcb806c9a45b09dab7c2e6594a7ebb085a2 (diff)
[memprof] Refactor getMemProfRecord (NFC) (#93138)
This patch refactors getMemProfRecord for readability while adding consistency checks. - This patch adds a switch statement on the MemProf version just like most places dealing with MemProf serialization/deserialization. - This patch adds asserts to ensure that the exact set of data structures are available while ones we do not use are not present. That is, getMemProfRecord no longer determines the version based on the availability of MemProfCallStackTable.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions