https://llvm.org/bugs/show_bug.cgi?id=22882
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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs