search for: instantiatemember

Displaying 2 results from an estimated 2 matches for "instantiatemember".

2014 Dec 03
2
[LLVMdev] [lld] need to figure out if file is an archive member and record more information...
On 12/2/2014 11:19 PM, Rui Ueyama wrote: > Do you have to know whether a MemoryBuffer was in a library or not during > parsing that MemoryBuffer? Yes, I need to know that while parsing the buffer too. > > If not, we could just set a library name to a File in > FileArchive::instantiateMember after we call _registry.parseFile. > > On Tue, Dec 2, 2014 at 9:08 PM, Shankar Easwaran <shankare at codeaurora.org> > wrote: > >> Hi Nick, >> >> Currently the Reader doesnot have a way to figure out that a file that is >> being parsed is part of an archiv...
2014 Dec 03
2
[LLVMdev] [lld] need to figure out if file is an archive member and record more information...
Hi Nick, Currently the Reader doesnot have a way to figure out that a file that is being parsed is part of an archive. For linker script support this is needed to match a rule that matches only if the file is from an archive library (or a member of an archive. For example :- SECTIONS { .myoutputsection : { libc.a : { *(.text) } printf.o : { *(.rodata) } } } The colon is used to