mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 23:18:58 +00:00
e26e7d308c
In practice only a few well known appending linkage variables work. Currently if codegen sees an unknown appending linkage variable it will just print it as a regular global. That is wrong as the symbol in the produced object file has different semantics as the one provided by the appending linkage. This just errors early instead of producing a broken .o. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269706 91177308-0d34-0410-b5e6-96231b3b80d8
5 lines
138 B
LLVM
5 lines
138 B
LLVM
; RUN: not llc < %s -march=x86 2>&1 | FileCheck %s
|
|
|
|
; CHECK: unknown special variable
|
|
@foo = appending constant [1 x i32 ]zeroinitializer
|