Promote scalars to load addresses when dereferencing them.
authorAdrian Prantl <aprantl@apple.com>
Tue, 2 Mar 2021 19:03:38 +0000 (11:03 -0800)
committerAdrian Prantl <aprantl@apple.com>
Tue, 2 Mar 2021 22:30:39 +0000 (14:30 -0800)
commit14ccba26bd4d4f78cf5ec2ca8bb55c95913a3ec5
tree0bb12ab4a04ab1738cdb2e6f9dc416cabf838cb3
parent29034f38769cfced34c1758dd03e02991f2308ba
Promote scalars to load addresses when dereferencing them.

This is a follow-up to 188b0747c1664d962e94f00b5e3caac529fa1e26. This
is a very narrow fix to a more general problem. LLDB should be better
at distinguishing between implict and memory location descriptions.

rdar://74902042
lldb/source/Expression/DWARFExpression.cpp
lldb/unittests/Expression/DWARFExpressionTest.cpp