Set gold plugin options in a sane order.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 19 Jun 2014 22:54:47 +0000 (22:54 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 19 Jun 2014 22:54:47 +0000 (22:54 +0000)
commitc273aac3a1cff33c7d7d0778cfb50f6b9ccee922
treef1077a68560db4a243c6f08039076cc6b446e5be
parent1e1b992ad7bb3c79fae317897f59b68608cfe313
Set gold plugin options in a sane order.

This fixes the  processing of --plugin-opt=-jump-table-type=arity.

Nice properties:
 * We call InitTargetOptionsFromCodeGenFlags once.
 * We call parseCodeGenDebugOptions once.
 * It works :-)

llvm-svn: 211322
llvm/tools/gold/gold-plugin.cpp