[llvm-commits] [lld] Support reading archive libraries
shankare at codeaurora.org
Fri Nov 2 10:35:26 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
>> 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.
The ReaderArchiveOptions gets constructed using the command line flags
thats passed to lld, along with the Reader. For the ReaderArchiveOptions
to be created within ReaderELF,
the command line options (or) the appropriate flags that were read
from the command line would be needed.
Currently all the Readers(createReader*) take in ReaderOptionsELF only.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits