diff options
author | Zachary Turner <zturner@google.com> | 2016-11-08 22:24:53 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-11-08 22:24:53 +0000 |
commit | 4efa0a4201c5df01817895f476dfac71b3064acc (patch) | |
tree | cd4c78a2b08baa8a3285c30d5a061e4a6acdbee3 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h | |
parent | cb3c9f6c749c6ec76b328c2a405b79430868ef23 (diff) | |
download | bcm5719-llvm-4efa0a4201c5df01817895f476dfac71b3064acc.tar.gz bcm5719-llvm-4efa0a4201c5df01817895f476dfac71b3064acc.zip |
[CodeView] Hook up CodeViewRecordIO to type serialization path.
Previously support had been added for using CodeViewRecordIO
to read (deserialize) CodeView type records. This patch adds
support for writing those same records. With this patch,
reading and writing of CodeView type records finally uses a single
codepath.
Differential Revision: https://reviews.llvm.org/D26253
llvm-svn: 286304
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h index 04551a4a120..8c9cbd1d80a 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h @@ -20,8 +20,8 @@ #include "llvm/CodeGen/AsmPrinter.h" #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineModuleInfo.h" -#include "llvm/DebugInfo/CodeView/MemoryTypeTableBuilder.h" #include "llvm/DebugInfo/CodeView/TypeIndex.h" +#include "llvm/DebugInfo/CodeView/TypeTableBuilder.h" #include "llvm/IR/DebugInfo.h" #include "llvm/IR/DebugLoc.h" #include "llvm/MC/MCStreamer.h" @@ -37,7 +37,7 @@ struct ClassInfo; class LLVM_LIBRARY_VISIBILITY CodeViewDebug : public DebugHandlerBase { MCStreamer &OS; llvm::BumpPtrAllocator Allocator; - codeview::MemoryTypeTableBuilder TypeTable; + codeview::TypeTableBuilder TypeTable; /// Represents the most general definition range. struct LocalVarDefRange { |