Re: [lldb-dev] Structure variable names

2016-06-07 Thread Jiten Thakkar via lldb-dev
Thanks Greg and Duane, I will try these things and comeback if I have further questions. -Jiten > On Jun 7, 2016, at 12:28 PM, du...@duaneellis.com wrote: > > You need to understand the DWARF (debug info) > > Try this: > > Create a *SIMPLE* C file - with a simple structure > Do *not* "#include

Re: [lldb-dev] Structure variable names

2016-06-07 Thread via lldb-dev
You need to understand the DWARF (debug info)Try this:Create a *SIMPLE* C file - with a simple structureDo *not* "#include" any file - make your file 100% standalone.(later you can get more complicated, you want a simple translation unit)Do the following with both GCC and LLVMCompile this file usin

Re: [lldb-dev] Structure variable names

2016-06-07 Thread Greg Clayton via lldb-dev
> On Jun 7, 2016, at 9:56 AM, Jiten Thakkar via lldb-dev > wrote: > > Hi All, > I am working on a project as part of my graduate study which uses LLVM. > I am new to LLVM and lldb to be particular. > My goal is to get names of the parameters to functions. If the parameter is a > variable in a