Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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.cpp510 static Error handleArgs(const CommonConfig &Config, const ELFConfig &ELFConfig, in handleArgs() argument
636 if (!Obj.SymbolTable && !ELFConfig.SymbolsToAdd.empty()) in handleArgs()
640 for (const NewSymbolInfo &SI : ELFConfig.SymbolsToAdd) { in handleArgs()
674 const ELFConfig &ELFConfig, MemoryBuffer &In, in executeObjcopyOnIHex() argument
683 if (Error E = handleArgs(Config, ELFConfig, **Obj)) in executeObjcopyOnIHex()
689 const ELFConfig &ELFConfig, MemoryBuffer &In, in executeObjcopyOnRawBinary() argument
692 ELFConfig.NewSymbolVisibility.getValueOr((uint8_t)ELF::STV_DEFAULT); in executeObjcopyOnRawBinary()
702 if (Error E = handleArgs(Config, ELFConfig, **Obj)) in executeObjcopyOnRawBinary()
708 const ELFConfig &ELFConfig, in executeObjcopyOnBinary() argument
712 Reader.create(!ELFConfig.SymbolsToAdd.empty()); in executeObjcopyOnBinary()
[all …]
H A DELFConfig.h30 struct ELFConfig { struct
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/
H A Dllvm-objcopy.cpp144 Expected<const ELFConfig &> ELFConfig = ConfigMgr.getELFConfig(); in executeObjcopyOnIHex() local
145 if (!ELFConfig) in executeObjcopyOnIHex()
146 return ELFConfig.takeError(); in executeObjcopyOnIHex()
148 return elf::executeObjcopyOnIHex(ConfigMgr.getCommonConfig(), *ELFConfig, In, in executeObjcopyOnIHex()
165 Expected<const ELFConfig &> ELFConfig = ConfigMgr.getELFConfig(); in executeObjcopyOnRawBinary() local
166 if (!ELFConfig) in executeObjcopyOnRawBinary()
167 return ELFConfig.takeError(); in executeObjcopyOnRawBinary()
169 return elf::executeObjcopyOnRawBinary(Config, *ELFConfig, In, Out); in executeObjcopyOnRawBinary()
180 Expected<const ELFConfig &> ELFConfig = Config.getELFConfig(); in executeObjcopyOnBinary() local
181 if (!ELFConfig) 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;
41 mutable Optional<ELFConfig> ELF;
H A DConfigManager.cpp550 Expected<const ELFConfig &> ConfigManager::getELFConfig() const { in getELFConfig()
557 ELFConfig ResConfig; in getELFConfig()