Home
last modified time | relevance | path

Searched refs:ICFLevel (Results 1 – 10 of 10) sorted by relevance

/openbsd-src/gnu/llvm/lld/MachO/
H A DConfig.h64 enum class ICFLevel { enum
189 ICFLevel icfLevel = ICFLevel::none;
H A DDriver.cpp793 static ICFLevel getICFLevel(const ArgList &args) { in getICFLevel()
795 auto icfLevel = StringSwitch<ICFLevel>(icfLevelStr) in getICFLevel()
796 .Cases("none", "", ICFLevel::none) in getICFLevel()
797 .Case("safe", ICFLevel::safe) in getICFLevel()
798 .Case("all", ICFLevel::all) in getICFLevel()
799 .Default(ICFLevel::unknown); in getICFLevel()
800 if (icfLevel == ICFLevel::unknown) { in getICFLevel()
803 icfLevel = ICFLevel::none; in getICFLevel()
1921 if (config->icfLevel != ICFLevel::none) { in link()
1922 if (config->icfLevel == ICFLevel::safe) in link()
H A DLTO.cpp57 c.Options.EmitAddrsig = config->icfLevel == ICFLevel::safe; in createConfig()
H A DInputFiles.cpp287 if (config->icfLevel == ICFLevel::none) in getRecordSize()
/openbsd-src/gnu/llvm/lld/COFF/
H A DConfig.h89 enum class ICFLevel { enum
111 ICFLevel doICF = ICFLevel::None;
H A DDriver.cpp1743 std::optional<ICFLevel> icfLevel; in linkerMain()
1745 icfLevel = ICFLevel::None; in linkerMain()
1758 icfLevel = ICFLevel::All; in linkerMain()
1760 icfLevel = ICFLevel::Safe; in linkerMain()
1762 icfLevel = ICFLevel::None; in linkerMain()
1793 icfLevel = doGC ? ICFLevel::All : ICFLevel::None; in linkerMain()
1797 (tailMerge == 1 && config->doICF != ICFLevel::None) || tailMerge == 2; in linkerMain()
1906 !config->doGC && config->doICF == ICFLevel::None && in linkerMain()
1953 if (config->incremental && config->doICF != ICFLevel::None) { in linkerMain()
2455 if (config->doICF != ICFLevel::None) { in linkerMain()
H A DICF.cpp86 if ((ctx.config.doICF == ICFLevel::All) && in isEligible()
/openbsd-src/gnu/llvm/lld/ELF/
H A DConfig.h64 enum class ICFLevel { None, Safe, All }; enum
302 ICFLevel icf;
H A DDriver.cpp375 if (config->icf != ICFLevel::None) in checkOptions()
771 static ICFLevel getICF(opt::InputArgList &args) { in getICF()
774 return ICFLevel::None; in getICF()
776 return ICFLevel::Safe; in getICF()
777 return ICFLevel::All; in getICF()
2108 if (config->icf == ICFLevel::Safe || !(d->section->flags & SHF_EXECINSTR)) in markAddrsig()
2129 if (config->icf == ICFLevel::All && config->ignoreDataAddressEquality) in findKeepUniqueSections()
2901 if (config->icf != ICFLevel::None) { in link()
H A DInputFiles.cpp730 else if (config->icf == ICFLevel::Safe) in initializeSections()