You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
18
external/llvm/test/Linker/comdat_group.ll
vendored
Normal file
18
external/llvm/test/Linker/comdat_group.ll
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
; Ensure complete comdat group is materialized
|
||||
; RUN: llvm-link %s -S | FileCheck %s
|
||||
; CHECK: $linkoncecomdat = comdat any
|
||||
; CHECK: @linkoncecomdat = linkonce global i32 2
|
||||
; CHECK: @linkoncecomdat_unref_var = linkonce global i32 2, comdat($linkoncecomdat)
|
||||
; CHECK: define linkonce void @linkoncecomdat_unref_func() comdat($linkoncecomdat)
|
||||
|
||||
$linkoncecomdat = comdat any
|
||||
@linkoncecomdat = linkonce global i32 2, comdat($linkoncecomdat)
|
||||
@linkoncecomdat_unref_var = linkonce global i32 2, comdat($linkoncecomdat)
|
||||
define linkonce void @linkoncecomdat_unref_func() comdat($linkoncecomdat) {
|
||||
ret void
|
||||
}
|
||||
; Reference one member of comdat so that comdat is generated.
|
||||
define void @ref_linkoncecomdat() {
|
||||
load i32, i32* @linkoncecomdat, align 4
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user