]> granicus.if.org Git - llvm/commit
Don't assume little endian in StreamReader / StreamWriter.
authorZachary Turner <zturner@google.com>
Sat, 18 Feb 2017 01:35:33 +0000 (01:35 +0000)
committerZachary Turner <zturner@google.com>
Sat, 18 Feb 2017 01:35:33 +0000 (01:35 +0000)
commit980cadce138cc5b4bb0b9b594177d62ab08777cc
treeaebaa33af8909f655f47ac08cec675a83eda477f
parent045ad1b55f7def7317608833c95d66eb44f085c1
Don't assume little endian in StreamReader / StreamWriter.

In an effort to generalize this so it can be used by more than
just PDB code, we shouldn't assume little endian.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295525 91177308-0d34-0410-b5e6-96231b3b80d8
21 files changed:
include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
include/llvm/DebugInfo/CodeView/TypeSerializer.h
include/llvm/DebugInfo/MSF/StreamReader.h
include/llvm/DebugInfo/MSF/StreamWriter.h
lib/DebugInfo/CodeView/CVTypeVisitor.cpp
lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
lib/DebugInfo/CodeView/RecordSerialization.cpp
lib/DebugInfo/CodeView/TypeSerializer.cpp
lib/DebugInfo/MSF/StreamReader.cpp
lib/DebugInfo/MSF/StreamWriter.cpp
lib/DebugInfo/PDB/Native/DbiStream.cpp
lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp
lib/DebugInfo/PDB/Native/HashTable.cpp
lib/DebugInfo/PDB/Native/ModStream.cpp
lib/DebugInfo/PDB/Native/NamedStreamMap.cpp
lib/DebugInfo/PDB/Native/PDBFile.cpp
lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
lib/DebugInfo/PDB/Native/StringTable.cpp
lib/DebugInfo/PDB/Native/StringTableBuilder.cpp
tools/llvm-readobj/COFFDumper.cpp
unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp