Lines Matching refs:ConfigMgr
100 static Error executeObjcopyOnIHex(ConfigManager &ConfigMgr, MemoryBuffer &In, in executeObjcopyOnIHex() argument
103 Expected<const ELFConfig &> ELFConfig = ConfigMgr.getELFConfig(); in executeObjcopyOnIHex()
107 return elf::executeObjcopyOnIHex(ConfigMgr.getCommonConfig(), *ELFConfig, In, in executeObjcopyOnIHex()
113 static Error executeObjcopyOnRawBinary(ConfigManager &ConfigMgr, in executeObjcopyOnRawBinary() argument
115 const CommonConfig &Config = ConfigMgr.getCommonConfig(); in executeObjcopyOnRawBinary()
124 Expected<const ELFConfig &> ELFConfig = ConfigMgr.getELFConfig(); in executeObjcopyOnRawBinary()
137 static Error executeObjcopy(ConfigManager &ConfigMgr) { in executeObjcopy() argument
138 CommonConfig &Config = ConfigMgr.Common; in executeObjcopy()
161 return executeObjcopyOnRawBinary(ConfigMgr, *MemoryBufferHolder, in executeObjcopy()
167 return executeObjcopyOnIHex(ConfigMgr, *MemoryBufferHolder, OutFile); in executeObjcopy()
178 if (Error E = executeObjcopyOnArchive(ConfigMgr, *Ar)) in executeObjcopy()
183 return executeObjcopyOnBinary(ConfigMgr, *BinaryHolder.getBinary(), in executeObjcopy()
249 for (ConfigManager &ConfigMgr : DriverConfig->CopyConfigs) { in llvm_objcopy_main()
250 if (Error E = executeObjcopy(ConfigMgr)) { in llvm_objcopy_main()