Remove lld/Support/Memory.h.
authorRui Ueyama <ruiu@google.com>
Sun, 18 Dec 2016 14:06:06 +0000 (14:06 +0000)
committerRui Ueyama <ruiu@google.com>
Sun, 18 Dec 2016 14:06:06 +0000 (14:06 +0000)
commit9381eb104563cacdded3c4597d0845707b02737e
tree74322e968e70c7ca15158f504424d84d0ae04864
parenta26bc91456865f8cd039c9ebd72def3a0b4a80f1
Remove lld/Support/Memory.h.

I thought for a while about how to remove it, but it looks like we
can just copy the file for now. Of course I'm not happy about that,
but it's just less than 50 lines of code, and we already have
duplicate code in Error.h and some other places. I want to solve
them all at once later.

Differential Revision: https://reviews.llvm.org/D27819

llvm-svn: 290062
27 files changed:
lld/COFF/CMakeLists.txt
lld/COFF/Driver.cpp
lld/COFF/DriverUtils.cpp
lld/COFF/InputFiles.cpp
lld/COFF/Memory.h [new file with mode: 0644]
lld/COFF/ModuleDef.cpp
lld/COFF/SymbolTable.cpp
lld/COFF/Symbols.cpp
lld/COFF/Symbols.h
lld/COFF/Writer.cpp
lld/ELF/CMakeLists.txt
lld/ELF/Driver.cpp
lld/ELF/DriverUtils.cpp
lld/ELF/InputFiles.cpp
lld/ELF/InputSection.cpp
lld/ELF/LinkerScript.cpp
lld/ELF/Memory.h [new file with mode: 0644]
lld/ELF/OutputSections.cpp
lld/ELF/SymbolTable.cpp
lld/ELF/SyntheticSections.cpp
lld/ELF/Target.cpp
lld/ELF/Thunks.cpp
lld/ELF/Writer.cpp
lld/include/lld/Support/Memory.h
lld/lib/CMakeLists.txt
lld/lib/Support/CMakeLists.txt [deleted file]
lld/lib/Support/Memory.cpp [deleted file]