On Tue, May 28, 2019 at 09:43:28AM -0500, Josh Poimboeuf wrote: > Would it be feasible to eventually combine subcommands so that objtool > could do both ORC and mcount generation in a single invocation? I > wonder what what the interface would look like.
objtool orc+mcount ? That is, have '+' be a separator for cmd thingies. That would of course require all other arguments to be shared between all commands, which is currently already so, but I've not checked the mcount patches. Alternatively, we ditch the command thing entirely and live off of pure flags: 'o', "orc", "Generate ORC data" 'c', "mcount', "Generate mcount() location data"