>The gold plugin supports this option by using >InitTargetOptionsFromCodeGenFlags/ParseCommandLineOptions. Could we do >the same and avoid duplicating the parsing of the option? > >Cheers, >Rafael Approach looks nice. Prepared patch doing that: https://reviews.llvm.org/D42733. George.