[LLVMdev] lldb cannot display structure type for llvm3.2
Jonathan
gamma_chen at yahoo.com.tw
Mon Jan 28 06:45:25 PST 2013
Eric,
After tried more, some are work but some are not. So, it's not what I thought it always happened in struct type of variable. So, this is not serious as I thought. I will let you know if I can get more information in this. Thank your answer.
Jonathan
On 2013/1/28, at 上午11:31, Eric Christopher <echristo at gmail.com> wrote:
> This may be a debug info bug, if you could reduce it down a bit and file a bug that'd be appreciated.
>
> Thanks.
>
> -eric
>
>
> On Sun, Jan 27, 2013 at 12:11 AM, Jonathan <gamma_chen at yahoo.com.tw> wrote:
> I find the lldb cannot display structure type information, such as "print ArgLocs.size()" as follows,
>
> -> 593 CCValAssign &VA = ArgLocs[i];
> 594 EVT ValVT = VA.getValVT();
> 595 ISD::ArgFlagsTy Flags = Ins[i].Flags;
> 596 bool IsRegLoc = VA.isRegLoc();
> (lldb) print ArgLocs.size()
> error: call to a function 'llvm::SmallVectorTemplateCommon<llvm::CCValAssign>::size() const' that is not present in the target
> error: Couldn't materialize struct: Structure hasn't been laid out yet
>
>
> I use Xcode 4.5.2 and my lldb can display structure type information on llvm 3.1.
> gdb can display the structure type on llvm 3.2.
>
> Jonathan
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130128/575d3acf/attachment.html>
More information about the llvm-dev
mailing list