aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2021-07-09 15:32:30 +0100
committerJeremy Morse <jeremy.morse@sony.com>2021-07-09 15:43:13 +0100
commitf551fb96c7fbe38628f049bfe0e48a6943ee341f (patch)
tree6515df9bb92fbae12934253c93f36115f8d96fc6 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parentffccf96e90d6b726188c3ddbe5142f06762567ad (diff)
downloadllvm-f551fb96c7fbe38628f049bfe0e48a6943ee341f.zip
llvm-f551fb96c7fbe38628f049bfe0e48a6943ee341f.tar.gz
llvm-f551fb96c7fbe38628f049bfe0e48a6943ee341f.tar.bz2
[Debug-info][InstrRef] Avoid an unnecessary map ordering
We keep a record of substitutions between debug value numbers post-isel, however we never actually look them up until the end of compilation. As a result, there's nothing gained by the collection being a std::map. This patch downgrades it to being a vector, that's then sorted at the end of compilation in LiveDebugValues. Differential Revision: https://reviews.llvm.org/D105029
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions