llvm.org GIT mirror llvm / 64c4f71
[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). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327509 91177308-0d34-0410-b5e6-96231b3b80d8 Teresa Johnson 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
383383 // required version, this should be changed to:
384384 // get_wrap_symbols = tv->tv_u.tv_get_wrap_symbols;
385385 get_wrap_symbols =
386 (ld_plugin_get_wrap_symbols)tv->tv_u.tv_register_new_input;
386 (ld_plugin_get_wrap_symbols)tv->tv_u.tv_message;
387387 break;
388388 default:
389389 break;