Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

BUILD.gn
import("//llvm/utils/unittest/unittest.gni")

unittest("OrcJITTests") {
  deps = [
    "//llvm/lib/ExecutionEngine",
    "//llvm/lib/ExecutionEngine/Orc",
    "//llvm/lib/ExecutionEngine/Orc/Shared",
    "//llvm/lib/ExecutionEngine/RuntimeDyld",
    "//llvm/lib/IR",
    "//llvm/lib/Object",
    "//llvm/lib/Support",
    "//llvm/lib/Target:NativeTarget",
    "//llvm/lib/Testing/Support",
  ]
  sources = [
    "CoreAPIsTest.cpp",
    "EPCGenericJITLinkMemoryManagerTest.cpp",
    "EPCGenericMemoryAccessTest.cpp",
    "ExecutionSessionWrapperFunctionCallsTest.cpp",
    "ExecutorAddressTest.cpp",
    "IndirectionUtilsTest.cpp",
    "JITTargetMachineBuilderTest.cpp",
    "LazyCallThroughAndReexportsTest.cpp",
    "LookupAndRecordAddrsTest.cpp",
    "MapperJITLinkMemoryManagerTest.cpp",
    "MemoryMapperTest.cpp",
    "ObjectLinkingLayerTest.cpp",
    "OrcCAPITest.cpp",
    "OrcTestCommon.cpp",
    "RTDyldObjectLinkingLayerTest.cpp",
    "ResourceTrackerTest.cpp",
    "SharedMemoryMapperTest.cpp",
    "SimpleExecutorMemoryManagerTest.cpp",
    "SimplePackedSerializationTest.cpp",
    "SymbolStringPoolTest.cpp",
    "TaskDispatchTest.cpp",
    "ThreadSafeModuleTest.cpp",
    "WrapperFunctionUtilsTest.cpp",
  ]
}