<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 10, 2011, at 2:06 PM, Eric Christopher wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 10, 2011, at 1:58 PM, Devang Patel wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 10, 2011, at 1:47 PM, Eric Christopher wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Author: echristo<br>Date: Thu Nov 10 15:47:55 2011<br>New Revision: 144319<br><br>URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project?rev=144319&view=rev">http://llvm.org/viewvc/llvm-project?rev=144319&view=rev</a><br>Log:<br>Make types and namespaces take multiple DIEs for the accelerator tables<br>as well.<br><br>Modified:<br>   llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h<br>   llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp<br><br>Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h<br>URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h?rev=144319&r1=144318&r2=144319&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h?rev=144319&r1=144318&r2=144319&view=diff</a><br>==============================================================================<br>--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h (original)<br>+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h Thu Nov 10 15:47:55 2011<br>@@ -64,8 +64,8 @@<br>  ///<br>  StringMap<std::vector<DIE*> > AccelNames;<br>  StringMap<std::vector<DIE*> > AccelObjC;<br>-  StringMap<DIE*> AccelNamespace;<br>-  StringMap<DIE*> AccelTypes;<br>+  StringMap<std::vector<DIE*> > AccelNamespace;<br>+  StringMap<std::vector<DIE*> > AccelTypes;<br></span></blockquote></div><br><div>SmallVector ?</div></div></blockquote><br></div><div>Wasn't sure how many of them I thought I'd have, but yeah, looks reasonable for that.</div></div></blockquote><br></div><div>SmallVector is efficient if the element count is not too high and and you can reasonably estimate a good starting size. </div><div>-</div><div>Devang</div><br></body></html>