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, 杨勇勇 <[email protected]> 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 > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev _______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
