Home
last modified time | relevance | path

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

/freebsd/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.h19 struct ELFConfig { struct
/freebsd/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()
125 Expected<const ELFConfig &> ELFConfig = ConfigMgr.getELFConfig(); in executeObjcopyOnRawBinary() local
126 if (!ELFConfig) in executeObjcopyOnRawBinary()
127 return ELFConfig.takeError(); in executeObjcopyOnRawBinary()
129 return elf::executeObjcopyOnRawBinary(Config, *ELFConfig, In, Out); in executeObjcopyOnRawBinary()
H A DObjcopyOptions.cpp648 ELFConfig &ELFConfig = ConfigMgr.ELF; in parseObjcopyOptions() local
692 ELFConfig.NewSymbolVisibility = StringSwitch<uint8_t>(VisibilityStr) in parseObjcopyOptions()
699 if (ELFConfig.NewSymbolVisibility == Invalid) in parseObjcopyOptions()
985 ELFConfig.LocalizeHidden = InputArgs.hasArg(OBJCOPY_localize_hidden); in parseObjcopyOptions()
994 ELFConfig.VerifyNoteSections = InputArgs.hasFlag( in parseObjcopyOptions()
998 ELFConfig.KeepFileSymbols = InputArgs.hasArg(OBJCOPY_keep_file_symbols); in parseObjcopyOptions()
1004 ELFConfig.KeepFileSymbols = true; in parseObjcopyOptions()
1094 ELFConfig.SymbolsToSetVisibility.emplace_back(NameMatcher(), *Type); in parseObjcopyOptions()
1095 if (Error E = ELFConfig.SymbolsToSetVisibility.back().first.addMatcher( in parseObjcopyOptions()
1107 ELFConfig.SymbolsToSetVisibility.emplace_back(NameMatcher(), *Type); in parseObjcopyOptions()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp305 const ELFConfig &ELFConfig, Object &Obj) { in updateAndRemoveSymbols() argument
318 ((ELFConfig.LocalizeHidden && in updateAndRemoveSymbols()
323 for (auto &[Matcher, Visibility] : ELFConfig.SymbolsToSetVisibility) in updateAndRemoveSymbols()
378 (ELFConfig.KeepFileSymbols && Sym.Type == STT_FILE)) in updateAndRemoveSymbols()
417 const ELFConfig &ELFConfig, Object &Obj) { in replaceAndRemoveSections() argument
545 if ((!Config.SymbolsToKeep.empty() || ELFConfig.KeepFileSymbols) && in replaceAndRemoveSections()
554 if (Error E = Obj.removeSections(ELFConfig.AllowBrokenLinks, RemovePred)) in replaceAndRemoveSections()
681 static Error handleArgs(const CommonConfig &Config, const ELFConfig &ELFConfig, in handleArgs() argument
690 ELFConfig.AllowBrokenLinks, in handleArgs()
707 if (Error E = replaceAndRemoveSections(Config, ELFConfig, Obj)) in handleArgs()
[all …]
/freebsd/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/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;