bolt/deps/llvm-18.1.8/llvm/test/Linker/Inputs/ctors3.ll

8 lines
248 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
$foo = comdat any
%t = type { i8 }
@foo = global %t zeroinitializer, comdat
@llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @bar, ptr @foo }]
define internal void @bar() comdat($foo) {
ret void
}