[PATCH] D13501: [ELF2] Add -wrap switch

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 02:40:10 PDT 2015


ikudrin created this revision.
ikudrin added reviewers: rafael, ruiu.
ikudrin added a subscriber: llvm-commits.
ikudrin added a project: lld.

If the '-wrap' switch is used, all undefined references to 'symbol' will be resolved to '__wrap_symbol'.
Similarly, undefined references to '__real_symbol' will be resolved to 'symbol'.

http://reviews.llvm.org/D13501

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/InputFiles.cpp
  ELF/Options.td
  test/elf2/Inputs/wrap.s
  test/elf2/wrap.s
  test/elf2/wrap2.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13501.36717.patch
Type: text/x-patch
Size: 5097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151007/2278e249/attachment.bin>


More information about the llvm-commits mailing list