================ @@ -34,10 +41,34 @@ LLVM_ATTRIBUTE_USED int __lsan_is_turned_off() { return 1; } #endif +#define DEBUG_TYPE "clang-repl" + static llvm::cl::opt<bool> CudaEnabled("cuda", llvm::cl::Hidden); static llvm::cl::opt<std::string> CudaPath("cuda-path", llvm::cl::Hidden); static llvm::cl::opt<std::string> OffloadArch("offload-arch", llvm::cl::Hidden); - +static llvm::cl::OptionCategory OOPCategory("Out-of-process Execution Options"); +static llvm::cl::opt<std::string> SlabAllocateSizeString( + "slab-allocate", + llvm::cl::desc("Allocate from a slab of the given size " + "(allowable suffixes: Kb, Mb, Gb. default = " + "Kb)"), + llvm::cl::init(""), llvm::cl::cat(OOPCategory)); +static llvm::cl::opt<std::string> + OOPExecutor("oop-executor", + llvm::cl::desc("Launch an out-of-process executor to run code"), + llvm::cl::ValueOptional, llvm::cl::cat(OOPCategory)); +static llvm::cl::opt<std::string> OOPExecutorConnect( + "oop-executor-connect", + llvm::cl::desc( + "Connect to an out-of-process executor through a TCP socket"), + llvm::cl::value_desc("<hostname>:<port>")); +static llvm::cl::opt<std::string> + OrcRuntimePath("orc-runtime", llvm::cl::desc("Path to the ORC runtime"), + llvm::cl::ValueOptional, llvm::cl::cat(OOPCategory)); +static llvm::cl::opt<bool> UseSharedMemory( ---------------- SahilPatidar wrote:
Added default values for both `oop-executor` and `orc-runtime` options. https://github.com/llvm/llvm-project/pull/110418 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits