Files
UnrealEngineUWP/Engine/Source/Programs/BreakpadSymbolEncoder/BreakpadSymbolEncoder.h
Ben Marsh 7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00

42 lines
969 B
C

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/* The output files are packed in this ordered:
*
* RecordsHeader
* Records
* File strings
* Symbol strings
*
* Start of strings section:
* RecordsHeader::RecordCount * sizeof(Record) + sizeof(RecordHeader);
*
*/
#pragma pack(push, 1)
struct RecordsHeader
{
/* The number of Records encoded in the output file */
uint32_t RecordCount;
};
struct Record
{
/* The Address of the Symbol */
uint64_t Address;
/* The Line number of the symbol in the File */
uint32_t LineNumber;
/* The Relative Offset in bytes from the start of the strings to the start of the File name in the output file */
uint32_t FileRelativeOffset;
/* The Relative Offset in bytes from the start of the strings to the start of the Symbol name in the output file */
uint32_t SymbolRelativeOffset;
friend bool operator<(const Record& A, const Record& B)
{
return A.Address < B.Address;
}
};
#pragma pack(pop)