[LLVMdev] [lld] consolidating the usage of saving references

Shankar Easwaran shankare at codeaurora.org
Sun Nov 10 19:10:15 PST 2013


Hi,

It looks like each flavor chooses to save references in its own way.

The GNU flavor (ELF) uses a single vector of references and uses 
referenceStartIndex/referenceEndIndex to point to the references for 
each DefinedAtom.

Darwin(Mach-O) / WinLink (PECOFF) uses a different way of storing 
references ?

Is there a plan to make the WinLink/Darwin(Mach-O) use a single vector 
of references too at some point in time.

There are merits/demerits of the approach that the Gnu flavor uses but 
it would be nice if we settle on one design for storing references.

Thanks

Shankar Easwaran

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation




More information about the llvm-dev mailing list