clayborg requested changes to this revision.
clayborg added a comment.
This revision now requires changes to proceed.

Any idea why the module isn't set correctly in certain dwarf expressions? Any 
variable that is created from debug info that pertains to a module should have 
its DWARFExpression created with the correct module. A DWARFExpression that has 
no module, yet it has file addresses with DW_OP_addr, was not created 
correctly. If you grab a global variable from module "a.out" and create a 
DWARFExpression that doesn't have its module set correctly, but we are stopped 
in libfoo.dylib in some frame inside there, and then evaluate the expression it 
will evaluate incorrectly or not at all if the file address doesn't match 
something in the current frame. The right fix is to ensure the DWARFExpression 
is created correctly with a module.


https://reviews.llvm.org/D52678



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to