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 /include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h | |
parent | 08bbd35a80bf7765fe0d3043f9eb5a2f2786b649 (diff) |
Diffstat (limited to 'include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h')
-rw-r--r-- | include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h b/include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h index 8180e0fc83f4c..d620008e22d21 100644 --- a/include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h +++ b/include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h @@ -1,4 +1,4 @@ -//===- CodeViewYAMLDebugSections.h - CodeView YAMLIO debug sections -------===// +//=- CodeViewYAMLDebugSections.h - CodeView YAMLIO debug sections -*- C++ -*-=// // // The LLVM Compiler Infrastructure // @@ -15,27 +15,33 @@ #ifndef LLVM_OBJECTYAML_CODEVIEWYAMLDEBUGSECTIONS_H #define LLVM_OBJECTYAML_CODEVIEWYAMLDEBUGSECTIONS_H +#include "llvm/ADT/ArrayRef.h" +#include "llvm/ADT/StringRef.h" #include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/DebugInfo/CodeView/DebugSubsection.h" #include "llvm/DebugInfo/CodeView/DebugSubsectionRecord.h" -#include "llvm/ObjectYAML/YAML.h" +#include "llvm/Support/Error.h" +#include "llvm/Support/YAMLTraits.h" +#include <cstdint> +#include <memory> +#include <vector> namespace llvm { namespace codeview { -class DebugStringTableSubsection; -class DebugStringTableSubsectionRef; -class DebugChecksumsSubsectionRef; -class DebugStringTableSubsection; -class DebugChecksumsSubsection; + class StringsAndChecksums; class StringsAndChecksumsRef; -} + +} // end namespace codeview + namespace CodeViewYAML { namespace detail { + struct YAMLSubsectionBase; -} + +} // end namespace detail struct YAMLFrameData { uint32_t RvaStart; @@ -87,7 +93,6 @@ struct SourceLineInfo { uint32_t RelocSegment; codeview::LineFlags Flags; uint32_t CodeSize; - std::vector<SourceLineBlock> Blocks; }; @@ -124,11 +129,12 @@ fromDebugS(ArrayRef<uint8_t> Data, const codeview::StringsAndChecksumsRef &SC); void initializeStringsAndChecksums(ArrayRef<YAMLDebugSubsection> Sections, codeview::StringsAndChecksums &SC); -} // namespace CodeViewYAML -} // namespace llvm +} // end namespace CodeViewYAML + +} // end namespace llvm LLVM_YAML_DECLARE_MAPPING_TRAITS(CodeViewYAML::YAMLDebugSubsection) LLVM_YAML_IS_SEQUENCE_VECTOR(CodeViewYAML::YAMLDebugSubsection) -#endif +#endif // LLVM_OBJECTYAML_CODEVIEWYAMLDEBUGSECTIONS_H |