[LLVMbugs] [Bug 21415] New: visibility not merged correctly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 29 23:24:29 PDT 2014


            Bug ID: 21415
           Summary: visibility not merged correctly
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Linker
          Assignee: rafael.espindola at gmail.com
          Reporter: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

$ cat t1.ll
$c1 = comdat any
@v = weak global i32 1, comdat $c1

$ cat t2.ll
$c1 = comdat any
@v = weak hidden global i32 2, comdat $c1

$ ./build/bin/llvm-link -S t1.ll t2.ll -o -
; ModuleID = 'llvm-link'

$c1 = comdat any

@v = weak global i32 1, comdat $c1

It should have produced an hidden symbol.

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/20141030/0aa96997/attachment.html>

More information about the llvm-bugs mailing list