Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

undef-ctor-dtor.ll
; RUN: opt -S -globalopt < %s | FileCheck %s

; Gracefully handle undef global_ctors/global_dtors

; CHECK: @llvm.global_ctors = appending global [0 x { i32, void ()*, i8* }] undef
; CHECK: @llvm.global_dtors = appending global [0 x { i32, void ()*, i8* }] undef

@llvm.global_ctors = appending global [0 x { i32, void ()*, i8* }] undef
@llvm.global_dtors = appending global [0 x { i32, void ()*, i8* }] undef