diff options
author | Jeremy Morse <jeremy.morse@sony.com> | 2021-10-19 11:07:49 +0100 |
---|---|---|
committer | Jeremy Morse <jeremy.morse@sony.com> | 2021-10-19 11:10:14 +0100 |
commit | 849b17949f18b5753592588a2290f2f3dde73ac0 (patch) | |
tree | 3c3387ef86ff3d40adb64d6b33e14c4416d68e2d /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
parent | 8bac18be0e45adc7b096375bf4f65635fb994df0 (diff) | |
download | llvm-849b17949f18b5753592588a2290f2f3dde73ac0.zip llvm-849b17949f18b5753592588a2290f2f3dde73ac0.tar.gz llvm-849b17949f18b5753592588a2290f2f3dde73ac0.tar.bz2 |
[DebugInfo][InstrRef] Avoid un-necessary densemap copies and comparisons
This is purely a performance patch: InstrRefBasedLDV used to use three
DenseMaps to store variable values, two for long term storage and one as a
working set. This patch eliminates the working set, and updates the long
term storage in place, thus avoiding two DenseMap comparisons and two
DenseMap assignments, which can be expensive.
Differential Revision: https://reviews.llvm.org/D111716
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions