Files
UnrealEngineUWP/Engine/Source/Programs/BreakpadSymbolEncoder/BreakpadSymbolEncoder.h
Ryan Durand 9ef3748747 Updating copyrights for Engine Programs.
#rnx
#rb none
#jira none

#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869242 in //Fortnite/Release-12.00/... via CL 10869536
#ROBOMERGE-BOT: FORTNITE (Main -> Dev-EngineMerge) (v613-10869866)

[CL 10870955 by Ryan Durand in Main branch]
2019-12-26 23:01:54 -05:00

42 lines
959 B
C

// Copyright 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)