[LTO/gold] Fix workaround for old plugin-api.h in --wrap support
authorTeresa Johnson <tejohnson@google.com>
Wed, 14 Mar 2018 14:00:57 +0000 (14:00 +0000)
committerTeresa Johnson <tejohnson@google.com>
Wed, 14 Mar 2018 14:00:57 +0000 (14:00 +0000)
commit2f5c331138df4be16b24274f2e3e71529b17c141
treea0d35dac629e573e0b5afa4a188f908c9266cc88
parent2eb39c137fd2b14d7e65b29395c4888bd743e510
[LTO/gold] Fix workaround for old plugin-api.h in --wrap support

The workaround for older plugin-api.h in r327506 unfortunately
used another union member that is also fairly new and not available
in the plugin-api.h on some of the bots, leading to:
http://lab.llvm.org:8011/builders/clang-with-thin-lto-ubuntu/builds/9121/steps/build-stage2-LLVMgold.so/logs/stdio

Change to use a different member that we will definitely have (as it
is used elsewhere in gold-plugin.cpp already).

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