Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjCopy/ELF/
H A DELFObjcopy.h23 struct ELFConfig;
31 const ELFConfig &ELFConfig, MemoryBuffer &In,
39 const ELFConfig &ELFConfig, MemoryBuffer &In,
46 const ELFConfig &ELFConfig,
H A DELFConfig.h18 struct ELFConfig { struct
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A Dllvm-objcopy.cpp103 Expected<const ELFConfig &> ELFConfig = ConfigMgr.getELFConfig(); in executeObjcopyOnIHex() local
104 if (!ELFConfig) in executeObjcopyOnIHex()
105 return ELFConfig.takeError(); in executeObjcopyOnIHex()
107 return elf::executeObjcopyOnIHex(ConfigMgr.getCommonConfig(), *ELFConfig, In, in executeObjcopyOnIHex()
124 Expected<const ELFConfig &> ELFConfig = ConfigMgr.getELFConfig(); in executeObjcopyOnRawBinary() local
125 if (!ELFConfig) in executeObjcopyOnRawBinary()
126 return ELFConfig.takeError(); in executeObjcopyOnRawBinary()
128 return elf::executeObjcopyOnRawBinary(Config, *ELFConfig, In, Out); in executeObjcopyOnRawBinary()
H A DObjcopyOptions.cpp592 ELFConfig &ELFConfig = ConfigMgr.ELF; in parseObjcopyOptions() local
636 ELFConfig.NewSymbolVisibility = StringSwitch<uint8_t>(VisibilityStr) in parseObjcopyOptions()
643 if (ELFConfig.NewSymbolVisibility == Invalid) in parseObjcopyOptions()
879 ELFConfig.LocalizeHidden = InputArgs.hasArg(OBJCOPY_localize_hidden); in parseObjcopyOptions()
894 ELFConfig.KeepFileSymbols = true; in parseObjcopyOptions()
988 ELFConfig.EntryExpr = [EAddr](uint64_t) { return *EAddr; }; in parseObjcopyOptions()
995 auto Expr = ELFConfig.EntryExpr ? std::move(ELFConfig.EntryExpr) in parseObjcopyOptions()
997 ELFConfig.EntryExpr = [Expr, EIncr](uint64_t EAddr) { in parseObjcopyOptions()
1276 ELFConfig &ELFConfig = ConfigMgr.ELF; in parseStripOptions() local
1302 ELFConfig.KeepFileSymbols = InputArgs.hasArg(STRIP_keep_file_symbols); in parseStripOptions()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/
H A DObjCopy.cpp41 Expected<const ELFConfig &> ELFConfig = Config.getELFConfig(); in executeObjcopyOnBinary() local
42 if (!ELFConfig) in executeObjcopyOnBinary()
43 return ELFConfig.takeError(); in executeObjcopyOnBinary()
45 return elf::executeObjcopyOnBinary(Config.getCommonConfig(), *ELFConfig, in executeObjcopyOnBinary()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp286 const ELFConfig &ELFConfig, Object &Obj) { in updateAndRemoveSymbols() argument
296 ((ELFConfig.LocalizeHidden && in updateAndRemoveSymbols()
386 const ELFConfig &ELFConfig, Object &Obj) { in replaceAndRemoveSections() argument
616 static Error handleArgs(const CommonConfig &Config, const ELFConfig &ELFConfig, in handleArgs() argument
625 ELFConfig.AllowBrokenLinks, in handleArgs()
775 if (ELFConfig.EntryExpr) in handleArgs()
776 Obj.Entry = ELFConfig.EntryExpr(Obj.Entry); in handleArgs()
790 const ELFConfig &ELFConfig, in executeObjcopyOnIHex() argument
799 if (Error E = handleArgs(Config, ELFConfig, **Obj)) in executeObjcopyOnIHex()
805 const ELFConfig &ELFConfig, in executeObjcopyOnRawBinary() argument
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjCopy/
H A DMultiFormatConfig.h18 struct ELFConfig;
29 virtual Expected<const ELFConfig &> getELFConfig() const = 0;
H A DConfigManager.h28 Expected<const ELFConfig &> getELFConfig() const override { return ELF; } in getELFConfig()
40 ELFConfig ELF;