Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

do-nothing-intrinsic.ll
; RUN: opt < %s -passes='require<callgraph>'
; PR13903

define void @main() personality i8 0 {
  invoke void @llvm.donothing()
          to label %ret unwind label %unw
unw:
  %tmp = landingpad i8 cleanup
  br label %ret
ret:
  ret void
}
declare void @llvm.donothing() nounwind readnone