[LLVMdev] lldb cannot display structure type for llvm3.2

Eric Christopher echristo at gmail.com
Sun Jan 27 19:31:22 PST 2013


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/20130127/dd2ae299/attachment.html>


More information about the llvm-dev mailing list