diff options
author | Zachary Turner <zturner@google.com> | 2017-05-30 17:13:33 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-05-30 17:13:33 +0000 |
commit | 591312c5c1a133949285dde012d8cf373ab31b12 (patch) | |
tree | 018149cd6fdc99281c57823add5f228604dbaa93 /llvm/lib/DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp | |
parent | 5fd588be34ce1fe53e88590c8a8781ec973f45a0 (diff) | |
download | llvm-591312c5c1a133949285dde012d8cf373ab31b12.zip llvm-591312c5c1a133949285dde012d8cf373ab31b12.tar.gz llvm-591312c5c1a133949285dde012d8cf373ab31b12.tar.bz2 |
[CodeView] Add more DebugSubsection implementations.
This adds implementations for Symbols and FrameData, and renames
the existing codeview::StringTable class to conform to the
DebugSectionStringTable convention.
llvm-svn: 304222
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp b/llvm/lib/DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp index a565a6a..520a0ee 100644 --- a/llvm/lib/DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp +++ b/llvm/lib/DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp @@ -11,8 +11,8 @@ #include "llvm/DebugInfo/CodeView/CodeViewError.h" #include "llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h" +#include "llvm/DebugInfo/CodeView/DebugStringTableSubsection.h" #include "llvm/DebugInfo/CodeView/DebugSubsectionRecord.h" -#include "llvm/DebugInfo/CodeView/StringTable.h" using namespace llvm; using namespace llvm::codeview; @@ -61,7 +61,7 @@ DebugInlineeLinesSubsection::DebugInlineeLinesSubsection( : DebugSubsection(DebugSubsectionKind::InlineeLines), Checksums(Checksums), HasExtraFiles(HasExtraFiles) {} -uint32_t DebugInlineeLinesSubsection::calculateSerializedLength() { +uint32_t DebugInlineeLinesSubsection::calculateSerializedSize() const { // 4 bytes for the signature uint32_t Size = sizeof(InlineeLinesSignature); @@ -78,7 +78,7 @@ uint32_t DebugInlineeLinesSubsection::calculateSerializedLength() { return Size; } -Error DebugInlineeLinesSubsection::commit(BinaryStreamWriter &Writer) { +Error DebugInlineeLinesSubsection::commit(BinaryStreamWriter &Writer) const { InlineeLinesSignature Sig = InlineeLinesSignature::Normal; if (HasExtraFiles) Sig = InlineeLinesSignature::ExtraFiles; |