From ba4cc03b4f0d71ac3e0147aa3dde449299ce8cd5 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 16 Jan 2020 13:09:45 -0500 Subject: remove embedded LLD we no longer have any patches against upstream LLD --- deps/lld/Common/Memory.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 deps/lld/Common/Memory.cpp (limited to 'deps/lld/Common/Memory.cpp') diff --git a/deps/lld/Common/Memory.cpp b/deps/lld/Common/Memory.cpp deleted file mode 100644 index c53e1d3e6c..0000000000 --- a/deps/lld/Common/Memory.cpp +++ /dev/null @@ -1,22 +0,0 @@ -//===- Memory.cpp ---------------------------------------------------------===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// - -#include "lld/Common/Memory.h" - -using namespace llvm; -using namespace lld; - -BumpPtrAllocator lld::bAlloc; -StringSaver lld::saver{bAlloc}; -std::vector lld::SpecificAllocBase::instances; - -void lld::freeArena() { - for (SpecificAllocBase *alloc : SpecificAllocBase::instances) - alloc->reset(); - bAlloc.Reset(); -} -- cgit v1.2.3