Allow only 2^32-1 frame images.

This commit is contained in:
Bartosz Taudul 2019-06-22 14:11:45 +02:00
parent fadf8e3e0a
commit 8f7be5a0fa

View File

@ -260,7 +260,7 @@ public:
uint64_t GetSrcLocCount() const { return m_data.sourceLocationPayload.size() + m_data.sourceLocation.size(); }
uint64_t GetCallstackPayloadCount() const { return m_data.callstackPayload.size() - 1; }
uint64_t GetCallstackFrameCount() const { return m_data.callstackFrameMap.size(); }
uint64_t GetFrameImageCount() const { return m_data.frameImage.size(); }
uint32_t GetFrameImageCount() const { return (uint32_t)m_data.frameImage.size(); }
uint64_t GetFrameOffset() const { return m_data.frameOffset; }
const FrameData* GetFramesBase() const { return m_data.framesBase; }
const Vector<FrameData*>& GetFrames() const { return m_data.frames.Data(); }