Unify the ExecutionContextScope computation in Materializer.
authorAdrian Prantl <aprantl@apple.com>
Wed, 8 Jul 2020 21:35:02 +0000 (14:35 -0700)
committerAdrian Prantl <aprantl@apple.com>
Wed, 8 Jul 2020 22:18:21 +0000 (15:18 -0700)
commit3728133d3f124c4c6972b118b0265de48ba89db1
tree004ceeb764301e85af32b996ab25c9238ea6c8c6
parent1bfdf7c7e310d69190bbf8c9adcbd853b6b83596
Unify the ExecutionContextScope computation in Materializer.

This is an NFC cleanup for Clang, and a bugfix for the Swift
branch. In swift-lldb one target may have multiple scratch
TypeSystems, so it is important to pick the one that belongs to the
current frame, rather than the one for the current target.

<rdar://problem/65001402>
lldb/source/Expression/Materializer.cpp