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

            Bug ID: 34162
           Summary: yaml2obj cannot handle multiple sections with the same
                    name
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: rafael.espind...@gmail.com
                CC: bigchees...@gmail.com, llvm-bugs@lists.llvm.org

The simple asm file

        .section        .text.foo,"axG",@progbits,_Z3fooIiEvv,comdat
        nop
        .section        .text.foo,"axG",@progbits,_Z3barIiEvv,comdat
        nop

produce two sections named .group. If we try to pass the output of obj2yaml to
yaml2obj we get

error: Repeated section name: '.group' at YAML section number 3.

It needs to rename sections or refer to sections using an ID instead of the
name.

-- 
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