[PATCH] D23542: [LTO] Introduce an Output class to wrap the output stream creation (NFC)

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 15 23:00:45 PDT 2016


mehdi_amini created this revision.
mehdi_amini added a reviewer: tejohnson.
mehdi_amini added a subscriber: llvm-commits.
Herald added a subscriber: mehdi_amini.

While NFC for now, this will allow more flexibility on the client side
to hold state necessary to back up the stream.
Also when adding caching, this class will grow in complexity.

Note I blindly modified the gold-plugin as I can't compile it.

https://reviews.llvm.org/D23542

Files:
  include/llvm/LTO/Config.h
  include/llvm/LTO/LTO.h
  include/llvm/LTO/LTOBackend.h
  lib/LTO/LTO.cpp
  lib/LTO/LTOBackend.cpp
  tools/gold/gold-plugin.cpp
  tools/llvm-lto2/llvm-lto2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23542.68134.patch
Type: text/x-patch
Size: 17358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160816/6d1a9e3c/attachment.bin>


More information about the llvm-commits mailing list