[llvm] r215334 - Increase the size of DwarfAccelTable::TableHeaderData::Atoms.
Eric Christopher
echristo at gmail.com
Sun Aug 10 23:21:29 PDT 2014
Thanks Hans!
-eric
On Sun, Aug 10, 2014 at 7:18 PM, Hans Wennborg <hans at hanshq.net> wrote:
> Author: hans
> Date: Sun Aug 10 21:18:15 2014
> New Revision: 215334
>
> URL: http://llvm.org/viewvc/llvm-project?rev=215334&view=rev
> Log:
> Increase the size of DwarfAccelTable::TableHeaderData::Atoms.
>
> During a Clang bootstrap, it seems this SmallVector always contains 3 elements.
>
> Modified:
> llvm/trunk/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
>
> Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfAccelTable.h?rev=215334&r1=215333&r2=215334&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfAccelTable.h (original)
> +++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfAccelTable.h Sun Aug 10 21:18:15 2014
> @@ -140,7 +140,7 @@ public:
> private:
> struct TableHeaderData {
> uint32_t die_offset_base;
> - SmallVector<Atom, 1> Atoms;
> + SmallVector<Atom, 3> Atoms;
>
> TableHeaderData(ArrayRef<Atom> AtomList, uint32_t offset = 0)
> : die_offset_base(offset), Atoms(AtomList.begin(), AtomList.end()) {}
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list