[lldb-dev] Reading eValueTypeLoadAddress with missing compiler type
Leonardo Bianconi via lldb-dev
lldb-dev at lists.llvm.org
Mon Sep 18 12:25:41 PDT 2017
Hi all!
I'm facing an issue with a value of lldb_private::Value::eValueTypeLoadAddress type, which cannot be loaded from memory because the compiler type was not filled.
That happens obtaining the fame base, which is based on "DW_OP_call_frame_cfa" case (DWARFExpression.cpp:2825).
After obtain the base frame, when resolving the value (Value.cpp:612), as the compiler type is invalid, the value is not read from memory, and the frame base keep as its address.
How can I solve this issue?
I looked in many files, and couldn't find how to fill the compiler type in the "DWARFExpression::Evaluate" method.
Thanks,
Leonardo Bianconi.
More information about the lldb-dev
mailing list