[LLVMbugs] [Bug 20664] New: comdat lost

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 14 14:43:12 PDT 2014


            Bug ID: 20664
           Summary: comdat lost
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Linker
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: david.majnemer at gmail.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

$ cat a.ll
$ cat b.ll
$c = comdat any
@a = alias void ()* @f
define internal void @f() comdat $c {
  ret void
$ llvm-link a.ll b.ll -o - -S
; ModuleID = 'a.ll'

@a = alias void ()* @f

define internal void @f() {
  ret void

Note how @f has lost its comdat.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140814/3323b495/attachment.html>

More information about the llvm-bugs mailing list