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 <br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 1, 2017 at 2:15 PM Pete Cooper <<a href="mailto:peter_cooper@apple.com">peter_cooper@apple.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><br><blockquote type="cite"><div>On May 31, 2017, at 9:09 PM, Adrian Prantl <<a href="mailto:aprantl@apple.com" target="_blank">aprantl@apple.com</a>> wrote:</div><br class="m_-1703293005003028273Apple-interchange-newline"><div><div style="word-wrap:break-word;line-break:after-white-space"><div><blockquote type="cite" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"> Dwarf should be in libDebugInfoDWARF.</div></div></blockquote><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">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).</div></div></div></div></blockquote></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div>Ah, didn’t know that.  I’m sure a bunch of the others I mentioned also have similar reasons for being where they are.</div><div><br></div><div>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.</div><div><br></div><div>Cheers,</div><div>Pete<br><blockquote type="cite"><div><div style="word-wrap:break-word;line-break:after-white-space"><div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">-- adrian</div></div></div></div></blockquote></div><br></div></blockquote></div>