diff options
author | Zachary Turner <zturner@google.com> | 2016-06-14 18:51:35 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-06-14 18:51:35 +0000 |
commit | 07c229c9e7f5520953207ab8cf159674c9bd33f2 (patch) | |
tree | 09f00a17d94f834229cd484e6ab62b240f1f2616 /llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp | |
parent | fe5bc0249208e9f3e5bee12a90969ed6d55af01f (diff) | |
download | llvm-07c229c9e7f5520953207ab8cf159674c9bd33f2.zip llvm-07c229c9e7f5520953207ab8cf159674c9bd33f2.tar.gz llvm-07c229c9e7f5520953207ab8cf159674c9bd33f2.tar.bz2 |
Revert "[pdb] Actually write a PDB to disk from YAML."
This reverts commit 879139e1c6577b09df52de56a6bab856a19ed185.
This was committed accidentally when I blindly typed git svn
dcommit instead of the command to generate a patch.
llvm-svn: 272693
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp b/llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp index a5c383e..6186a47 100644 --- a/llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp +++ b/llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp @@ -23,7 +23,6 @@ #include "llvm/DebugInfo/PDB/Raw/SymbolStream.h" #include "llvm/DebugInfo/PDB/Raw/TpiStream.h" #include "llvm/Support/Endian.h" -#include "llvm/Support/FileOutputBuffer.h" #include "llvm/Support/MemoryBuffer.h" using namespace llvm; @@ -70,8 +69,6 @@ PDBFile::getStreamBlockList(uint32_t StreamIndex) const { return StreamMap[StreamIndex]; } -size_t PDBFile::getFileSize() const { return Buffer->getLength(); } - ArrayRef<uint8_t> PDBFile::getBlockData(uint32_t BlockIndex, uint32_t NumBytes) const { uint64_t StreamBlockOffset = blockToOffset(BlockIndex, getBlockSize()); @@ -320,15 +317,3 @@ Expected<NameHashTable &> PDBFile::getStringTable() { } return *StringTable; } - -void PDBFile::setSuperBlock(const SuperBlock *Block) { SB = Block; } - -void PDBFile::setStreamSizes(ArrayRef<support::ulittle32_t> Sizes) { - StreamSizes = Sizes; -} - -void PDBFile::setStreamMap(ArrayRef<ArrayRef<support::ulittle32_t>> Blocks) { - StreamMap = Blocks; -} - -void PDBFile::commit() {}
\ No newline at end of file |