Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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.h21 struct ELFConfig { struct
/llvm-project-15.0.7/llvm/tools/llvm-objcopy/
H A Dllvm-objcopy.cpp104 Expected<const ELFConfig &> ELFConfig = ConfigMgr.getELFConfig(); in executeObjcopyOnIHex() local
105 if (!ELFConfig) in executeObjcopyOnIHex()
106 return ELFConfig.takeError(); in executeObjcopyOnIHex()
108 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.cpp608 ELFConfig &ELFConfig = ConfigMgr.ELF; in parseObjcopyOptions() local
652 ELFConfig.NewSymbolVisibility = StringSwitch<uint8_t>(VisibilityStr) in parseObjcopyOptions()
659 if (ELFConfig.NewSymbolVisibility == Invalid) in parseObjcopyOptions()
865 ELFConfig.LocalizeHidden = InputArgs.hasArg(OBJCOPY_localize_hidden); in parseObjcopyOptions()
880 ELFConfig.KeepFileSymbols = true; in parseObjcopyOptions()
974 ELFConfig.EntryExpr = [EAddr](uint64_t) { return *EAddr; }; in parseObjcopyOptions()
981 auto Expr = ELFConfig.EntryExpr ? std::move(ELFConfig.EntryExpr) in parseObjcopyOptions()
983 ELFConfig.EntryExpr = [Expr, EIncr](uint64_t EAddr) { in parseObjcopyOptions()
1260 ELFConfig &ELFConfig = ConfigMgr.ELF; in parseStripOptions() local
1286 ELFConfig.KeepFileSymbols = InputArgs.hasArg(STRIP_keep_file_symbols); in parseStripOptions()
[all …]
/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp270 const ELFConfig &ELFConfig, Object &Obj) { in updateAndRemoveSymbols() argument
280 ((ELFConfig.LocalizeHidden && in updateAndRemoveSymbols()
370 const ELFConfig &ELFConfig, Object &Obj) { in replaceAndRemoveSections() argument
600 static Error handleArgs(const CommonConfig &Config, const ELFConfig &ELFConfig, in handleArgs() argument
609 ELFConfig.AllowBrokenLinks, in handleArgs()
756 if (ELFConfig.EntryExpr) in handleArgs()
757 Obj.Entry = ELFConfig.EntryExpr(Obj.Entry); in handleArgs()
771 const ELFConfig &ELFConfig, in executeObjcopyOnIHex() argument
780 if (Error E = handleArgs(Config, ELFConfig, **Obj)) in executeObjcopyOnIHex()
786 const ELFConfig &ELFConfig, in executeObjcopyOnRawBinary() argument
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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;
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt5418 llvm/include/llvm/ObjCopy/ELF/ELFConfig.h