[PATCH] Pass -mglobal-merge as a module flag metadata.

Eric Christopher echristo at gmail.com
Fri Mar 13 15:23:23 PDT 2015


Hrm. What do you think about requiring that flags like this for LTO are just required to be passed on the command line rather than left in the module and subject to module merge? If so, you can just pass the option to the backend via TargetOptions which will put it on the TargetMachine and make it easy to grab for the pass manager.

Thoughts?

-eric


http://reviews.llvm.org/D7968

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list