Home
last modified time | relevance | path

Searched refs:icfLevel (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/lld/MachO/
H A DICF.cpp411 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()
H A DDriver.cpp842 auto icfLevel = StringSwitch<ICFLevel>(icfLevelStr) in getICFLevel() local
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()
858 return icfLevel; in getICFLevel()
1800 config->icfLevel = getICFLevel(args); in link()
2228 if (config->icfLevel != ICFLevel::none) { in link()
2229 if (config->icfLevel == ICFLevel::safe || in link()
2230 config->icfLevel == ICFLevel::safe_thunks) in link()
H A DConfig.h200 ICFLevel icfLevel = ICFLevel::none; member
H A DLTO.cpp42 c.Options.EmitAddrsig = config->icfLevel == ICFLevel::safe; in createConfig()
H A DInputFiles.cpp307 if (config->icfLevel == ICFLevel::none) in getRecordSize()
H A DSyntheticSections.cpp823 if (config->icfLevel == ICFLevel::none) in initialize()
/freebsd/contrib/llvm-project/lld/COFF/
H A DDriver.cpp1931 std::optional<ICFLevel> icfLevel; in linkerMain() local
1933 icfLevel = ICFLevel::None; in linkerMain()
1946 icfLevel = ICFLevel::All; in linkerMain()
1948 icfLevel = ICFLevel::Safe; in linkerMain()
1950 icfLevel = ICFLevel::None; in linkerMain()
1980 if (!icfLevel) in linkerMain()
1981 icfLevel = doGC ? ICFLevel::All : ICFLevel::None; in linkerMain()
1983 config->doICF = *icfLevel; in linkerMain()