Searched refs:ICFLevel (Results 1 – 12 of 12) sorted by relevance
67 enum class ICFLevel { enum200 ICFLevel icfLevel = ICFLevel::none;
411 if (config->icfLevel == ICFLevel::safe_thunks) in run()436 if (config->icfLevel == ICFLevel::safe_thunks) in run()445 bool useSafeThunks = config->icfLevel == ICFLevel::safe_thunks; in run()578 ((config->icfLevel == ICFLevel::safe_thunks) && isCodeSec); in foldIdenticalSections()
840 static ICFLevel getICFLevel(const ArgList &args) { in getICFLevel()842 auto icfLevel = StringSwitch<ICFLevel>(icfLevelStr) in getICFLevel()843 .Cases("none", "", ICFLevel::none) in getICFLevel()844 .Case("safe", ICFLevel::safe) in getICFLevel()845 .Case("safe_thunks", ICFLevel::safe_thunks) in getICFLevel()846 .Case("all", ICFLevel::all) in getICFLevel()847 .Default(ICFLevel::unknown); in getICFLevel()849 if ((icfLevel == ICFLevel::safe_thunks) && (config->arch() != AK_arm64)) { in getICFLevel()853 if (icfLevel == ICFLevel::unknown) { in getICFLevel()856 icfLevel = ICFLevel::none; in getICFLevel()[all …]
42 c.Options.EmitAddrsig = config->icfLevel == ICFLevel::safe; in createConfig()
307 if (config->icfLevel == ICFLevel::none) in getRecordSize()
823 if (config->icfLevel == ICFLevel::none) in initialize()
100 enum class ICFLevel { enum129 ICFLevel doICF = ICFLevel::None;
1931 std::optional<ICFLevel> icfLevel; in linkerMain()1933 icfLevel = ICFLevel::None; in linkerMain()1946 icfLevel = ICFLevel::All; in linkerMain()1948 icfLevel = ICFLevel::Safe; in linkerMain()1950 icfLevel = ICFLevel::None; in linkerMain()1981 icfLevel = doGC ? ICFLevel::All : ICFLevel::None; in linkerMain()1985 (tailMerge == 1 && config->doICF != ICFLevel::None) || tailMerge == 2; in linkerMain()2143 !config->doGC && config->doICF == ICFLevel::None && in linkerMain()2186 if (config->incremental && config->doICF != ICFLevel::None) { in linkerMain()2809 if (config->doICF != ICFLevel::None) { in linkerMain()
83 if ((ctx.config.doICF == ICFLevel::All) && in isEligible()
100 enum class ICFLevel { None, Safe, All }; enum429 ICFLevel icf;
463 if (ctx.arg.icf != ICFLevel::None) in checkOptions()870 static ICFLevel getICF(opt::InputArgList &args) { in getICF()873 return ICFLevel::None; in getICF()875 return ICFLevel::Safe; in getICF()876 return ICFLevel::All; in getICF()2564 if (ctx.arg.icf == ICFLevel::All && ctx.arg.ignoreDataAddressEquality) in findKeepUniqueSections()2569 bool icfSafe = ctx.arg.icf == ICFLevel::Safe; in findKeepUniqueSections()3484 if (ctx.arg.icf != ICFLevel::None) { in link()
767 else if (ctx.arg.icf == ICFLevel::Safe) in initializeSections()