[lldb-dev] How is variable info retrieved in debugging for executables generated by llvm backend?

Greg Clayton gclayton at apple.com
Tue Feb 18 10:28:49 PST 2014


All of this information is contained in the DWARF debug info that you must generate. Are you generating DWARF? If not, you will need to. If so, please attach an example program that contains DWARF and specify which function you are having trouble getting variable information for.

Greg Clayton

On Feb 18, 2014, at 12:44 AM, 杨勇勇 <triple.yang at gmail.com> wrote:

> Hi, all
> 
> I ported llvm backend and lldb recently. Both tools can basically work.
> lldb is able to debug programs in asm style and frame unwinding is OK.
> 
> But "frame variable XX" does not work because lldb is not able to determine the address of 
> XX from debug info.
> 
> Can someone give any clue?
> Thanks in advance.
> 
> -- 
> 杨勇勇 (Yang Yong-Yong)
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev





More information about the lldb-dev mailing list