[LLVMdev] [lld][ELF] obj2yaml vs normalized input files (similar to macho)

Michael Spencer bigcheesegs at gmail.com
Mon Oct 20 14:28:06 PDT 2014


On Mon, Oct 20, 2014 at 5:25 AM, Shankar Easwaran
<shankare at codeaurora.org> wrote:
> Hi,
>
> After looking at the Normalized Readers in mach-o, I feel it would be nice
> if the Gnu flavor to adopt this design what mach-o did in addition to using
> obj2yaml.
>
> Its so much easier to test in the context of lld with normalized readers,
> IMO.
>
> Opinions ?
>
> Thanks
>
> Shankar Easwaran
>
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
> the Linux Foundation
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

There's a non-trivial private memory overhead with this approach. I
also don't see how it would make testing lld any easier. I would
rather we embed yaml2obj/obj2yaml into lld.

- Michael Spencer



More information about the llvm-dev mailing list