diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-07-01 13:22:02 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-07-01 13:22:02 +0000 | 
| commit | 9df3605dea17e84f8183581f6103bd0c79e2a606 (patch) | |
| tree | 70a2f36ce9eb9bb213603cd7f2f120af53fc176f /lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp | |
| parent | 08bbd35a80bf7765fe0d3043f9eb5a2f2786b649 (diff) | |
Notes
Diffstat (limited to 'lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp')
| -rw-r--r-- | lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp | 14 | 
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp b/lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp index d69eca018e0c..55f343c11e7f 100644 --- a/lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp +++ b/lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp @@ -1,4 +1,4 @@ -//===- DebugSubsectionRecord.cpp -----------------------------*- C++-*-===// +//===- DebugSubsectionRecord.cpp ------------------------------------------===//  //  //                     The LLVM Compiler Infrastructure  // @@ -8,16 +8,20 @@  //===----------------------------------------------------------------------===//  #include "llvm/DebugInfo/CodeView/DebugSubsectionRecord.h" +#include "llvm/DebugInfo/CodeView/CodeView.h"  #include "llvm/DebugInfo/CodeView/DebugSubsection.h" -  #include "llvm/Support/BinaryStreamReader.h" +#include "llvm/Support/BinaryStreamWriter.h" +#include "llvm/Support/Error.h" +#include "llvm/Support/MathExtras.h" +#include <algorithm> +#include <cassert> +#include <cstdint>  using namespace llvm;  using namespace llvm::codeview; -DebugSubsectionRecord::DebugSubsectionRecord() -    : Container(CodeViewContainer::ObjectFile), -      Kind(DebugSubsectionKind::None) {} +DebugSubsectionRecord::DebugSubsectionRecord() = default;  DebugSubsectionRecord::DebugSubsectionRecord(DebugSubsectionKind Kind,                                               BinaryStreamRef Data,  | 
