[lld] [ELF] Implement --force-group-allocation (PR #94704)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 7 09:58:36 PDT 2024
================
@@ -1384,6 +1384,9 @@ static void readConfigs(opt::InputArgList &args) {
config->relaxGP = args.hasFlag(OPT_relax_gp, OPT_no_relax_gp, false);
config->rpath = getRpath(args);
config->relocatable = args.hasArg(OPT_relocatable);
+ config->resolveGroups = !args.hasArg(OPT_relocatable) ||
----------------
MaskRay wrote:
I was thinking that `--inhibit-group-allocation` could be kept to document the default behavior. I agree that it's not useful and I will remove it.
https://github.com/llvm/llvm-project/pull/94704
More information about the llvm-commits
mailing list