<div dir="ltr">I created this patch <a href="https://reviews.llvm.org/D39406">https://reviews.llvm.org/D39406</a> to merge them. It isn't as worrisome as I originally thought. I think it's rather small and mechanical change.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 28, 2017 at 4:07 PM, Rui Ueyama <span dir="ltr"><<a href="mailto:ruiu@google.com" target="_blank">ruiu@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi guys,<div><br></div><div>I'm planning to merge Symbol and SymbolBody into one unified class, Symbol in lld. That would be a pretty much mechanical change, but because symbols are used everywhere, the patch would be a large one.</div><div><br></div><div>This mail is to heads-up, and if you have any concern, please let me know.<div><br></div><div>Background:</div><div><br></div><div>Symbol and SymbolBody are defined as separate classes for a historical reason. Symbol used to be a pointer to SymbolBody, and the relationship between Symbol and SymbolBody was 1:n. However, because Peter made a change to allocate them next to each other, the relationship is now 1:1. So, there's no reason to keep them separated anymore. Unifying them simplifies the relationships between symbol classes.</div></div></div>
</blockquote></div><br></div>