[llvm-commits] [lld] Support reading archive libraries

Nick Kledzik kledzik at apple.com
Fri Nov 2 10:11:21 PDT 2012


On Nov 2, 2012, at 8:03 AM, Shankar Easwaran wrote:

> I had a thought on the same approach too, the problem was ReaderELF had to be passed ReaderArchive too (or) at a bare minimum the ReaderArchiveOptions. 
> This would have broken things with other Readers. I discussed with Michael on IRC and he said putting it in File should be fine for now.
How would this have broken other readers?   In my proposal, ReaderELF would instantiate a ReaderArchive passing "this" for the ReaderArchiveOptions reader.

-Nick

> 
> The approach you mention would be very clean, if there is nice way to pass in the ReaderArchive and in future, support for reading shared libraries.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121102/cd39c1f0/attachment.html>


More information about the llvm-commits mailing list