http://llvm.org/bugs/show_bug.cgi?id=21415

            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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to