[PATCH] D42217: Set Module Metadata "AvoidPLT" when -fno-plt is used.

Rafael Avila de Espindola via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 23 11:54:43 PST 2018


Sriraman Tallam via Phabricator <reviews at reviews.llvm.org> writes:
> +  if (CodeGenOpts.NoPLT) {
> +    getModule().setAvoidPLT();
> +  }
> +

You don't need the {}.

LGTM with that.

Cheers,
Rafael


More information about the cfe-commits mailing list