summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/plugins/python_os_plugin
diff options
context:
space:
mode:
authorAiden Grossman <aidengrossman@google.com>2024-06-28 10:46:46 -0700
committerGitHub <noreply@github.com>2024-06-28 10:46:46 -0700
commit370555c02c81fb3ab2f41f608d26aa85b8ca1ec5 (patch)
tree30e79c38cfc5d4a520b5e18060177c389be75926 /lldb/test/API/functionalities/plugins/python_os_plugin
parent3d11b3d750b735a149ab47b6ad8b8f98929c36a5 (diff)
[MCA] Parameterize variant scheduling classes by hash (#92849)
This patch looks up variant scheduling classes using a hash of the instruction. Keying by the pointer breaks certain use cases that might occur out of tree, like decoding an execution trace instruction by instruction and creating MCA instructions as one goes along, like in the MCAD case. In this case, the MCInst will always have the same address and thus all instructions with the same variant scheduling class will end up with the same instruction description, leading to undesired behavior (assertions, uses after free, invalid results, etc.).
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin')
0 files changed, 0 insertions, 0 deletions