Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
lld/ELF/Config.h
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | |||||
}; | }; | ||||
// This struct contains symbols version definition that | // This struct contains symbols version definition that | ||||
// can be found in version script if it is used for link. | // can be found in version script if it is used for link. | ||||
struct VersionDefinition { | struct VersionDefinition { | ||||
llvm::StringRef Name; | llvm::StringRef Name; | ||||
uint16_t Id = 0; | uint16_t Id = 0; | ||||
std::vector<SymbolVersion> Globals; | std::vector<SymbolVersion> Globals; | ||||
size_t NameOff = 0; // Offset in the string table | |||||
}; | }; | ||||
// This struct contains the global configuration for the linker. | // This struct contains the global configuration for the linker. | ||||
// Most fields are direct mapping from the command line options | // Most fields are direct mapping from the command line options | ||||
// and such fields have the same name as the corresponding options. | // and such fields have the same name as the corresponding options. | ||||
// Most fields are initialized by the driver. | // Most fields are initialized by the driver. | ||||
struct Configuration { | struct Configuration { | ||||
uint8_t OSABI = 0; | uint8_t OSABI = 0; | ||||
▲ Show 20 Lines • Show All 233 Lines • Show Last 20 Lines |