[llvm] r215334 - Increase the size of DwarfAccelTable::TableHeaderData::Atoms.
Hans Wennborg
hans at hanshq.net
Sun Aug 10 19:18:15 PDT 2014
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()) {}
More information about the llvm-commits
mailing list