<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Eric,<div><br></div><div>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.</div><div><br></div><div>Jonathan</div><div><br><div><div>On 2013/1/28, at 上午11:31, Eric Christopher <<a href="mailto:echristo@gmail.com">echristo@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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>
</blockquote></div><br></div></body></html>