summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorOlle Fredriksson <fredriksson.olle@gmail.com>2022-02-01 11:01:15 -0500
committerAlex Zhikhartsev <alex.zhi@huawei.com>2022-02-01 11:02:58 -0500
commit9d555b4a83bf72450d417c69aa0be250f0a490e4 (patch)
tree68be3014ce6c393f9dcbf0909b6389a70c5c8647 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent22d3bbdf4e3d6e178a3af8a97be57528ad27dbed (diff)
[DFAJumpThreading] make update order deterministic
We tracked down some non-determinism in compilation output to the DFAJumpThreading pass. These changes fixed our issue: * Make the DefMap type a MapVector to make its iteration order depend on insertion order. * Sort the values to be inserted into NewDefs by instruction order to make the insertion order deterministic. Since these values come from iterating over a ValueMap, which doesn't have deterministic iteration order, I couldn't fix this at its source. Reviewed By: alexey.zhikhar Differential Revision: https://reviews.llvm.org/D118590
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions