Home
last modified time | relevance | path

Searched refs:ELFConfig (Results 1 – 7 of 7) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DELFObjcopy.h23 struct ELFConfig;
27 const ELFConfig &ELFConfig, MemoryBuffer &In,
30 const ELFConfig &ELFConfig, MemoryBuffer &In,
33 const ELFConfig &ELFConfig,
H A DELFObjcopy.cpp564 static Error handleArgs(const CommonConfig &Config, const ELFConfig &ELFConfig, in handleArgs() argument
695 addSymbol(Obj, SI, ELFConfig.NewSymbolVisibility); in handleArgs()
723 const ELFConfig &ELFConfig, in executeObjcopyOnIHex() argument
732 if (Error E = handleArgs(Config, ELFConfig, **Obj)) in executeObjcopyOnIHex()
738 const ELFConfig &ELFConfig, in executeObjcopyOnRawBinary() argument
741 BinaryReader Reader(&In, ELFConfig.NewSymbolVisibility); in executeObjcopyOnRawBinary()
750 if (Error E = handleArgs(Config, ELFConfig, **Obj)) in executeObjcopyOnRawBinary()
756 const ELFConfig &ELFConfig, in executeObjcopyOnBinary() argument
769 if (Error E = handleArgs(Config, ELFConfig, **Obj)) in executeObjcopyOnBinary()
H A DELFConfig.h21 struct ELFConfig { struct
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A Dllvm-objcopy.cpp138 Expected<const ELFConfig &> ELFConfig = ConfigMgr.getELFConfig(); in executeObjcopyOnIHex() local
139 if (!ELFConfig) in executeObjcopyOnIHex()
140 return ELFConfig.takeError(); in executeObjcopyOnIHex()
159 Expected<const ELFConfig &> ELFConfig = ConfigMgr.getELFConfig(); in executeObjcopyOnRawBinary() local
160 if (!ELFConfig) in executeObjcopyOnRawBinary()
161 return ELFConfig.takeError(); in executeObjcopyOnRawBinary()
163 return elf::executeObjcopyOnRawBinary(Config, *ELFConfig, In, Out); in executeObjcopyOnRawBinary()
174 Expected<const ELFConfig &> ELFConfig = Config.getELFConfig(); in executeObjcopyOnBinary() local
175 if (!ELFConfig) in executeObjcopyOnBinary()
176 return ELFConfig.takeError(); in executeObjcopyOnBinary()
[all …]
H A DMultiFormatConfig.h18 struct ELFConfig;
28 virtual Expected<const ELFConfig &> getELFConfig() const = 0;
H A DConfigManager.h30 Expected<const ELFConfig &> getELFConfig() const override;
37 ELFConfig ELF;
H A DConfigManager.cpp561 Expected<const ELFConfig &> ConfigManager::getELFConfig() const { in getELFConfig()
686 ELFConfig &ELFConfig = ConfigMgr.ELF; in parseObjcopyOptions() local
730 ELFConfig.NewSymbolVisibility = StringSwitch<uint8_t>(VisibilityStr) in parseObjcopyOptions()
737 if (ELFConfig.NewSymbolVisibility == Invalid) in parseObjcopyOptions()