Fix the new LTOCodeGenerator setup in gold to parse options before using MAttrs.
authorTom Roeder <tmroeder@google.com>
Thu, 26 Jun 2014 20:43:27 +0000 (20:43 +0000)
committerTom Roeder <tmroeder@google.com>
Thu, 26 Jun 2014 20:43:27 +0000 (20:43 +0000)
commit9ad9c967556cdb7adb7c61dad694aa67c94e84bc
tree3d1be8986ca2befb25faebfca50d64b552189827
parentc2d93c404820178d55f440d4aa46e75d4b5c7b64
Fix the new LTOCodeGenerator setup in gold to parse options before using MAttrs.

This fixes a regression that made clang -flto -Wl,--plugin-opt=-mattr=+aes not
pass the "+aes" option to the LTOCodeGenerator attributes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211804 91177308-0d34-0410-b5e6-96231b3b80d8
tools/gold/gold-plugin.cpp