Mirror the llvm changes that split Bitcode/ReaderWriter.h
authorTeresa Johnson <tejohnson@google.com>
Fri, 11 Nov 2016 05:35:22 +0000 (05:35 +0000)
committerTeresa Johnson <tejohnson@google.com>
Fri, 11 Nov 2016 05:35:22 +0000 (05:35 +0000)
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

lld/ELF/InputFiles.cpp
lld/ELF/SymbolTable.cpp

index 3eb8909..87baa9d 100644 (file)
@@ -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"
index d929a8f..838aed4 100644 (file)
@@ -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;