<div dir="ltr">This may be a debug info bug, if you could reduce it down a bit and file a bug that'd be appreciated.<div><br></div><div>Thanks.</div><div><br></div><div style>-eric</div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Sun, Jan 27, 2013 at 12:11 AM, Jonathan <span dir="ltr"><<a href="mailto:gamma_chen@yahoo.com.tw" target="_blank">gamma_chen@yahoo.com.tw</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I find the lldb cannot display structure type information, such as "print ArgLocs.size()" as follows,<br>
<br>
-> 593 CCValAssign &VA = ArgLocs[i];<br>
594 EVT ValVT = VA.getValVT();<br>
595 ISD::ArgFlagsTy Flags = Ins[i].Flags;<br>
596 bool IsRegLoc = VA.isRegLoc();<br>
(lldb) print ArgLocs.size()<br>
error: call to a function 'llvm::SmallVectorTemplateCommon<llvm::CCValAssign>::size() const' that is not present in the target<br>
error: Couldn't materialize struct: Structure hasn't been laid out yet<br>
<br>
<br>
I use Xcode 4.5.2 and my lldb can display structure type information on llvm 3.1.<br>
gdb can display the structure type on llvm 3.2.<br>
<br>
Jonathan<br>
<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br></div>