[llvm-dev] Should we split llvm Support and ADT?

Zachary Turner via llvm-dev llvm-dev at lists.llvm.org
Thu Jun 1 14:19:28 PDT 2017


I would probably just make a new library called ObjectDef or ObjectFormat
and put ELF.h, COFF.h, DWARF.h, etc all there. Doesn't even need to produce
a .a file
On Thu, Jun 1, 2017 at 2:15 PM Pete Cooper <peter_cooper at apple.com> wrote:

>
> On May 31, 2017, at 9:09 PM, Adrian Prantl <aprantl at apple.com> wrote:
>
>  Dwarf should be in libDebugInfoDWARF.
>
> I think the reason why it isn't there is because lib/DebugInfo is for
> *consuming* debug info, but these definitions are useful for both reading
> and writing DWARF. That is not to say that they couldn't be moved somewhere
> else of course (but probably not lib/DebugInfo in its current form).
>
> Ah, didn’t know that.  I’m sure a bunch of the others I mentioned also
> have similar reasons for being where they are.
>
> Ultimately its a judgement call, but i’d say that libDebugInfoDWARF is a
> less bad place for this file than libSupport.  Not a great reason to move
> it, but if someone wants to I still wouldn’t personally object.
>
> Cheers,
> Pete
>
>
> -- adrian
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170601/57f7b07b/attachment.html>


More information about the llvm-dev mailing list