From: Rui Ueyama Date: Tue, 23 Feb 2016 03:34:37 +0000 (+0000) Subject: Use TinyPtrVector instead of SmallVector. X-Git-Tag: llvmorg-3.9.0-rc1~13489 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c00718fd8e19eb078a9d263c1e59587fbfd6b00a;p=platform%2Fupstream%2Fllvm.git Use TinyPtrVector instead of SmallVector. Thanks to Sean Silva for the suggestion. llvm-svn: 261606 --- diff --git a/lld/ELF/InputSection.h b/lld/ELF/InputSection.h index 26956c7..f0d4972 100644 --- a/lld/ELF/InputSection.h +++ b/lld/ELF/InputSection.h @@ -12,6 +12,7 @@ #include "Config.h" #include "lld/Core/LLVM.h" +#include "llvm/ADT/TinyPtrVector.h" #include "llvm/Object/ELF.h" namespace lld { @@ -160,7 +161,7 @@ public: void writeTo(uint8_t *Buf); // Relocation sections that refer to this one. - SmallVector RelocSections; + llvm::TinyPtrVector RelocSections; // The offset from beginning of the output sections this section was assigned // to. The writer sets a value.