[PATCH] D44235: [LTO/gold] Support --wrap

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 7 16:38:52 PST 2018


tejohnson created this revision.
tejohnson added reviewers: pcc, tmsriram.
Herald added subscribers: inglorion, mehdi_amini.

Utilize new gold plugin api interface for obtaining --wrap option
arguments, and LTO API handling (added for --wrap support in lld LTO),
to mark symbols so that LTO does not optimize them inappropriately.

Note the test cases will be in a new gold test subdirectory that
is dependent on the next release of gold which will contain the new
interfaces.


Repository:
  rL LLVM

https://reviews.llvm.org/D44235

Files:
  test/tools/gold/X86/v1.16/Inputs/wrap-bar.ll
  test/tools/gold/X86/v1.16/lit.local.cfg
  test/tools/gold/X86/v1.16/wrap-1.ll
  test/tools/gold/X86/v1.16/wrap-2.ll
  tools/gold/gold-plugin.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44235.137510.patch
Type: text/x-patch
Size: 7034 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180308/5f1caed7/attachment.bin>


More information about the llvm-commits mailing list