[LLVMbugs] [Bug 22882] New: Alias to common symbol produces an MC error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 12 07:36:20 PDT 2015


            Bug ID: 22882
           Summary: Alias to common symbol produces an MC error
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: michael.m.kuperstein at intel.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I'm not sure what this should do, but I doubt an MC error is the right thing.
What currently happens is:

target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"

@bar = common global i32 0, align 4
@foo = alias i32* @bar

> llc -filetype=obj alias.ll
LLVM ERROR: Common symbol bar cannot be used in assignment expr

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/20150312/1066d461/attachment.html>

More information about the llvm-bugs mailing list