Resubmit "[CodeView] Hook CodeViewRecordIO for reading/writing symbols."
authorZachary Turner <zturner@google.com>
Fri, 16 Dec 2016 22:48:14 +0000 (22:48 +0000)
committerZachary Turner <zturner@google.com>
Fri, 16 Dec 2016 22:48:14 +0000 (22:48 +0000)
commit46225b193fd956545be97a83cecb4a3b6d3d6f17
treeb1e3c659ee6958c39782deaf35bb09fbd15fdc43
parent3a4e2dd92fc47098b9b5d6d42756ce59c4a67267
Resubmit "[CodeView] Hook CodeViewRecordIO for reading/writing symbols."

The original patch was broken due to some undefined behavior
as well as warnings that were triggering -Werror.

llvm-svn: 290000
16 files changed:
llvm/include/llvm/DebugInfo/CodeView/CodeView.h
llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
llvm/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h
llvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h
llvm/include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h [new file with mode: 0644]
llvm/include/llvm/DebugInfo/CodeView/SymbolSerializer.h [new file with mode: 0644]
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/DebugInfo/CodeView/CMakeLists.txt
llvm/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp
llvm/lib/DebugInfo/CodeView/SymbolRecordMapping.cpp [new file with mode: 0644]
llvm/lib/DebugInfo/CodeView/SymbolSerializer.cpp [new file with mode: 0644]
llvm/lib/MC/MCCodeView.cpp
llvm/test/DebugInfo/PDB/pdb-yaml-symbols.test
llvm/test/DebugInfo/PDB/pdbdump-headers.test
llvm/tools/llvm-pdbdump/YamlSymbolDumper.cpp