diff options
author | Adrian McCarthy <amccarth@google.com> | 2016-05-19 20:12:56 +0000 |
---|---|---|
committer | Adrian McCarthy <amccarth@google.com> | 2016-05-19 20:12:56 +0000 |
commit | a972d6121e83f001996a26a2c8c597b59de36b5c (patch) | |
tree | 0d1513a9b3fef57d3a2925a60567cda031b2eb9d /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h | |
parent | 330a12554249445b4bbe6e6a8385c23842794e0c (diff) | |
download | bcm5719-llvm-a972d6121e83f001996a26a2c8c597b59de36b5c.tar.gz bcm5719-llvm-a972d6121e83f001996a26a2c8c597b59de36b5c.zip |
Modify emitTypeInformation to use MemoryTypeTableBuilder
A baby step toward translating DIType records to CodeView.
This does not (yet) combine the record length with the record data. I'm going back and forth trying to determine if that's a good idea.
llvm-svn: 270106
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h index 3cc11728504..3b1a629cf22 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h @@ -20,6 +20,7 @@ #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/IR/DebugInfo.h" #include "llvm/IR/DebugLoc.h" @@ -34,6 +35,7 @@ class LexicalScope; /// \brief Collects and handles line tables information in a CodeView format. class LLVM_LIBRARY_VISIBILITY CodeViewDebug : public DebugHandlerBase { MCStreamer &OS; + codeview::MemoryTypeTableBuilder TypeTable; /// Represents the most general definition range. struct LocalVarDefRange { |