Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/Object/XCOFFObjectFile.h
Show First 20 Lines • Show All 177 Lines • ▼ Show 20 Lines | |||||
struct XCOFFSectAuxEntForStat { | struct XCOFFSectAuxEntForStat { | ||||
support::ubig32_t SectionLength; | support::ubig32_t SectionLength; | ||||
support::ubig16_t NumberOfRelocEnt; | support::ubig16_t NumberOfRelocEnt; | ||||
support::ubig16_t NumberOfLineNum; | support::ubig16_t NumberOfLineNum; | ||||
uint8_t Pad[10]; | uint8_t Pad[10]; | ||||
}; | }; | ||||
struct XCOFFSectAuxEntForDwarf32 { | |||||
support::ubig32_t PortionLength; | |||||
uint8_t ReservedZeros_1[4]; | |||||
support::ubig32_t NumberOfRelocEnt; | |||||
uint8_t ReservedZeros_2[4]; | |||||
uint8_t ReservedZeros_3[2]; | |||||
}; | |||||
struct XCOFFSectAuxEntForDwarf64 { | |||||
support::ubig64_t PortionLength; | |||||
support::ubig64_t NumberOfRelocEnt; | |||||
uint8_t ReservedZeros[1]; | |||||
uint8_t AuxType; // Contains _AUX_SECT; Type of Auxillary entry | |||||
}; | |||||
struct XCOFFBlockAuxEnt32 { | |||||
uint8_t ReservedZeros_1[2]; | |||||
support::ubig16_t LineNum_Hi; | |||||
support::ubig16_t LineNum_Lo; | |||||
uint8_t ReservedZeros_2[12]; | |||||
}; | |||||
struct XCOFFBlockAuxEnt64 { | |||||
support::ubig32_t LineNum; | |||||
uint8_t ReservedZeros[13]; | |||||
uint8_t AuxType; // Contains _AUX_SYM; Type of auxiliary entry | |||||
}; | |||||
struct XCOFFRelocation32 { | struct XCOFFRelocation32 { | ||||
// Masks for packing/unpacking the r_rsize field of relocations. | // Masks for packing/unpacking the r_rsize field of relocations. | ||||
// The msb is used to indicate if the bits being relocated are signed or | // The msb is used to indicate if the bits being relocated are signed or | ||||
// unsigned. | // unsigned. | ||||
static constexpr uint8_t XR_SIGN_INDICATOR_MASK = 0x80; | static constexpr uint8_t XR_SIGN_INDICATOR_MASK = 0x80; | ||||
// The 2nd msb is used to indicate that the binder has replaced/modified the | // The 2nd msb is used to indicate that the binder has replaced/modified the | ||||
▲ Show 20 Lines • Show All 306 Lines • Show Last 20 Lines |