summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/module_section/main.cpp
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2023-02-27 12:05:02 +0100
committerMarco Elver <elver@google.com>2023-03-02 23:07:19 +0100
commitf693932fbea7abc3f65907dd0b0e3d4ffe0b9918 (patch)
tree64831701b434fedc7885de284b3146e13a9d981b /lldb/test/API/python_api/module_section/main.cpp
parent057b6fb61f129e085e469d3675ead1c9b2f93e83 (diff)
[SelectionDAG] Transitively copy NodeExtraInfo on RAUW
During legalization of the SelectionDAG, some nodes are replaced with arch-specific nodes. These may be complex nodes, where the root node no longer corresponds to the node that should carry the extra info. Fix the issue by copying extra info to the new node and all its new transitive operands during RAUW. See code comments for more details. This fixes the remaining pcsections-atomics.ll tests on X86. v2: Optimize copyExtraInfo() deep copy. For now we assume that only NodeExtraInfo that have PCSections set require deep copy. Furthermore, limit the depth of graph search while pre-populating the visited set, assuming the to-be-replaced subgraph 'From' has limited complexity. An assertion catches if the maximum depth needs to be increased. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D144677
Diffstat (limited to 'lldb/test/API/python_api/module_section/main.cpp')
0 files changed, 0 insertions, 0 deletions