1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/Linker/comdat15.ll
Rafael Espindola 371e07845e Also copy private linkage globals when needed.
This was an omission when handling COFF style comdats with local keys.
Should fix the sanitizer-windows bot.

llvm-svn: 254543
2015-12-02 20:57:33 +00:00

10 lines
256 B
LLVM

; RUN: llvm-link -S %s %p/Inputs/comdat15.ll -o - | FileCheck %s
$a1 = comdat any
@bar = global i32 0, comdat($a1)
; CHECK: @bar = global i32 0, comdat($a1)
; CHECK: @baz = private global i32 42, comdat($a1)
; CHECK: @a1 = internal alias i32, i32* @baz