diff options
| author | Stefan Boberg <[email protected]> | 2026-04-23 18:16:57 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-04-23 18:16:57 +0200 |
| commit | 0232b991cd7d8e3a2114ea30e4591dd3e7b65c36 (patch) | |
| tree | 94730e7594fd09ae1fa820391ce311f6daf13905 /thirdparty/raw_pdb/src/PDB_ModuleLineStream.cpp | |
| parent | Fix forward declaration order for s_GotSigWinch and SigWinchHandler (diff) | |
| parent | trace: declare Region event name fields as AnsiString (#1012) (diff) | |
| download | archived-zen-0232b991cd7d8e3a2114ea30e4591dd3e7b65c36.tar.xz archived-zen-0232b991cd7d8e3a2114ea30e4591dd3e7b65c36.zip | |
Merge branch 'main' into sb/zen-helpsb/zen-help
- Combine HelpCommand (this branch) with HistoryCommand (main) in zen CLI dispatcher
- Keep filter-aware TuiPickOne rewrite; adopt main's ASCII arrow glyphs in doc comment
Diffstat (limited to 'thirdparty/raw_pdb/src/PDB_ModuleLineStream.cpp')
| -rw-r--r-- | thirdparty/raw_pdb/src/PDB_ModuleLineStream.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/thirdparty/raw_pdb/src/PDB_ModuleLineStream.cpp b/thirdparty/raw_pdb/src/PDB_ModuleLineStream.cpp new file mode 100644 index 000000000..201983ed6 --- /dev/null +++ b/thirdparty/raw_pdb/src/PDB_ModuleLineStream.cpp @@ -0,0 +1,31 @@ +// Copyright 2011-2022, Molecular Matters GmbH <[email protected]> +// See LICENSE.txt for licensing details (2-clause BSD License: https://opensource.org/licenses/BSD-2-Clause) + +#include "PDB_PCH.h" +#include "PDB_ModuleLineStream.h" +#include "PDB_RawFile.h" + + +// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------ +PDB::ModuleLineStream::ModuleLineStream(void) PDB_NO_EXCEPT + : m_stream(), m_c13LineInfoOffset(0) +{ +} + + +// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------ +PDB::ModuleLineStream::ModuleLineStream(const RawFile& file, uint16_t streamIndex, uint32_t streamSize, size_t c13LineInfoOffset) PDB_NO_EXCEPT + : m_stream(file.CreateMSFStream<CoalescedMSFStream>(streamIndex, streamSize)), m_c13LineInfoOffset(c13LineInfoOffset) +{ + // https://llvm.org/docs/PDB/ModiStream.html + // struct ModiStream { + // uint32_t Signature; + // uint8_t Symbols[SymbolSize - 4]; + // uint8_t C11LineInfo[C11Size]; + // uint8_t C13LineInfo[C13Size]; + // uint32_t GlobalRefsSize; + // uint8_t GlobalRefs[GlobalRefsSize]; + // }; +} |