Files
UnrealEngineUWP/Engine/Source/Programs/BreakpadSymbolEncoder/BreakpadSymbolEncoder.h
Robert Manuszewski 2752c82adc Merging //UE4/Dev-Main @ 4664414 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4675693 by Robert Manuszewski in Dev-Core branch]
2019-01-02 00:55:51 -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)