[patch] Support multiple comdat sections with the same name but different groups

David Blaikie dblaikie at gmail.com
Fri Oct 4 15:18:45 PDT 2013


In working on DWARF type_units I came across a need to emit multiple ELF
sections of the same name but in different comdat groups. The integrated
assembler doesn't seem to cope with that, so I've taken a (completely
uninformed and reductionist) hack at trying to add such support.

This has mostly been driven by a pure "what code changes cause LLVM to
produce the desired output/pass the test", so I make no claims that is
right or complete, just the best effort with limited knowledge. I'd
appreciate any advice on how better to go about this or other test cases I
haven't considered, etc.

Thanks,
- Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131004/94dc4c89/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: comdat_group.diff
Type: application/octet-stream
Size: 4444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131004/94dc4c89/attachment.obj>


More information about the llvm-commits mailing list