1 //===- Memory.cpp ---------------------------------------------------------===//
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "lld/Common/Memory.h"
15 BumpPtrAllocator lld::BAlloc;
16 StringSaver lld::Saver{BAlloc};
17 std::vector<SpecificAllocBase *> lld::SpecificAllocBase::Instances;
19 void lld::freeArena() {
20 for (SpecificAllocBase *Alloc : SpecificAllocBase::Instances)