Differentiate chunks with empty callstacks from those without callstacks

* This is a minor distinction but helps ensure that conversions to/from other
  formats are binary identical.
This commit is contained in:
baldurk
2019-01-10 13:54:04 +00:00
parent 2e9635ff63
commit b1f3515090
3 changed files with 14 additions and 2 deletions
+6
View File
@@ -206,11 +206,17 @@ DOCUMENT(R"(Bitfield flags that could be applied to an :class:`SDChunk`.
This chunk wasn't supported for decoding or was skipped for another reason and was detailed as
an opaque byte stream. It should be preserved as-is and will remain in native RDC format.
.. data:: HasCallstack
This chunk has a callstack. Used to indicate the presence of a callstack even if it's empty
(perhaps due to failure to collect the stack frames).
)");
enum class SDChunkFlags : uint64_t
{
NoFlags = 0x0,
OpaqueChunk = 0x1,
HasCallstack = 0x2,
};
BITMASK_OPERATORS(SDChunkFlags);