From b1d7d77a2b8380833853e6bdb000f2383ddd5814 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Thu, 5 Apr 2012 17:47:31 +0000 Subject: Removed unnecessary --init-env option. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@154110 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/klee/main.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'tools') diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp index 78e0d394..68ef98d4 100644 --- a/tools/klee/main.cpp +++ b/tools/klee/main.cpp @@ -132,7 +132,7 @@ namespace { cl::opt WithPOSIXRuntime("posix-runtime", - cl::desc("Link with POSIX runtime"), + cl::desc("Link with POSIX runtime. Options that can be passed as arguments to the programs are: --sym-argv --sym-argvs + file model options"), cl::init(false)); cl::opt @@ -184,10 +184,6 @@ namespace { MakeConcreteSymbolic("make-concrete-symbolic", cl::desc("Rate at which to make concrete reads symbolic (0=off)"), cl::init(0)); - - cl::opt - InitEnv("init-env", - cl::desc("Create custom environment. Options that can be passed as arguments to the programs are: --sym-argv --sym-argvs + file model options")); cl::opt StopAfterNTests("stop-after-n-tests", @@ -1205,10 +1201,7 @@ int main(int argc, char **argv, char **envp) { klee_error("error loading program '%s': %s", InputFile.c_str(), ErrorMsg.c_str()); - if (WithPOSIXRuntime) - InitEnv = true; - - if (InitEnv) { + if (WithPOSIXRuntime) { int r = initEnv(mainModule); if (r != 0) return r; -- cgit 1.4.1