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)
commitb508119fb65167ad2062eb5bca810414485ddd35
treea221c5be2c8defb2425088013c6af9c4555c9642
parent1530adffdda179d06faa7fdf4539afaa7896b891
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.

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