https://bugs.llvm.org/show_bug.cgi?id=34506

            Bug ID: 34506
           Summary: lld -r corrupts comdat groups
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedb...@nondot.org
          Reporter: rafael.espind...@gmail.com
                CC: llvm-bugs@lists.llvm.org

given the .s:

        .section        .foo,"axG",@progbits,bar,comdat
        .section        .foo,"axG",@progbits,zed,comdat

If the corresponding .o is passed to lld -r, the result has

COMDAT group section [    2] `.group' [bar] contains 1 sections:               
                                                                               
                       [Index]    Name
   [    3]   .foo
COMDAT group section [    4] `.group' [zed] contains 1 sections:               
                                                                               
                       [Index]    Name
   [    3]   .foo

Note that the same section is in two groups

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to