Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/tools/llvm-objcopy/CopyConfig.h
Show First 20 Lines • Show All 107 Lines • ▼ Show 20 Lines | struct CopyConfig { | ||||
std::vector<NameOrRegex> ToRemove; | std::vector<NameOrRegex> ToRemove; | ||||
std::vector<NameOrRegex> SymbolsToKeepGlobal; | std::vector<NameOrRegex> SymbolsToKeepGlobal; | ||||
// Map options | // Map options | ||||
StringMap<SectionRename> SectionsToRename; | StringMap<SectionRename> SectionsToRename; | ||||
StringMap<SectionFlagsUpdate> SetSectionFlags; | StringMap<SectionFlagsUpdate> SetSectionFlags; | ||||
StringMap<StringRef> SymbolsToRename; | StringMap<StringRef> SymbolsToRename; | ||||
// ELF entry point address expression. The input parameter is an entry point | |||||
// address in the input ELF file. The entry address in the output file is | |||||
// calculated with EntryExpr(input_address), when either --set-start or | |||||
// --change-start is used. | |||||
std::function<uint64_t(uint64_t)> EntryExpr; | |||||
// Boolean options | // Boolean options | ||||
bool DeterministicArchives = true; | bool DeterministicArchives = true; | ||||
bool ExtractDWO = false; | bool ExtractDWO = false; | ||||
bool KeepFileSymbols = false; | bool KeepFileSymbols = false; | ||||
bool LocalizeHidden = false; | bool LocalizeHidden = false; | ||||
bool OnlyKeepDebug = false; | bool OnlyKeepDebug = false; | ||||
bool PreserveDates = false; | bool PreserveDates = false; | ||||
bool StripAll = false; | bool StripAll = false; | ||||
Show All 33 Lines |