From: Teresa Johnson Date: Fri, 11 Nov 2016 05:35:22 +0000 (+0000) Subject: Mirror the llvm changes that split Bitcode/ReaderWriter.h X-Git-Tag: llvmorg-4.0.0-rc1~4929 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e390897bafdb8fbeec855014a2dd625850ee583;p=platform%2Fupstream%2Fllvm.git Mirror the llvm changes that split Bitcode/ReaderWriter.h The change in D26502 splits ReaderWriter.h, which contains the APIs into both the BitReader and BitWriter libraries, into BitcodeReader.h and BitcodeWriter.h. Change lld uses to the appropriate split header, removing it completely in one case where it wasn't needed. llvm-svn: 286568 --- diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp index 3eb8909..87baa9d 100644 --- a/lld/ELF/InputFiles.cpp +++ b/lld/ELF/InputFiles.cpp @@ -16,7 +16,7 @@ #include "SymbolTable.h" #include "Symbols.h" #include "llvm/ADT/STLExtras.h" -#include "llvm/Bitcode/ReaderWriter.h" +#include "llvm/Bitcode/BitcodeReader.h" #include "llvm/CodeGen/Analysis.h" #include "llvm/DebugInfo/DWARF/DWARFContext.h" #include "llvm/IR/LLVMContext.h" diff --git a/lld/ELF/SymbolTable.cpp b/lld/ELF/SymbolTable.cpp index d929a8f..838aed4 100644 --- a/lld/ELF/SymbolTable.cpp +++ b/lld/ELF/SymbolTable.cpp @@ -21,7 +21,6 @@ #include "Memory.h" #include "SymbolListFile.h" #include "Symbols.h" -#include "llvm/Bitcode/ReaderWriter.h" using namespace llvm; using namespace llvm::object;