[lld] r285489 - Attempt to fix a buildbot really this time.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 28 18:28:06 PDT 2016
Author: ruiu
Date: Fri Oct 28 20:28:06 2016
New Revision: 285489
URL: http://llvm.org/viewvc/llvm-project?rev=285489&view=rev
Log:
Attempt to fix a buildbot really this time.
Modified:
lld/trunk/ELF/Memory.cpp
Modified: lld/trunk/ELF/Memory.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Memory.cpp?rev=285489&r1=285488&r2=285489&view=diff
==============================================================================
--- lld/trunk/ELF/Memory.cpp (original)
+++ lld/trunk/ELF/Memory.cpp Fri Oct 28 20:28:06 2016
@@ -9,7 +9,11 @@
#include "Memory.h"
-llvm::BumpPtrAllocator lld::elf::BAlloc;
-llvm::StringSaver lld::elf::Saver{BAlloc};
+using namespace llvm;
-void lld::elf::freeArena() { lld::elf::BAlloc.Reset(); }
+namespace lld {
+BumpPtrAllocator elf::BAlloc;
+StringSaver elf::Saver{elf::BAlloc};
+
+void elf::freeArena() { elf::BAlloc.Reset(); }
+}
More information about the llvm-commits
mailing list