diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2018-05-27 10:26:43 +0200 |
---|---|---|
committer | MartinNowack <martin.nowack@gmail.com> | 2018-10-26 13:31:07 +0100 |
commit | 0a7963e0dd119285b9730473ba417d181583ad0a (patch) | |
tree | 523088dae85f3cb34cd88ebc9213c8bc66d27d15 /test/Coverage | |
parent | 1f1569510990a3330b6eb8e3499198294964a88e (diff) | |
download | klee-0a7963e0dd119285b9730473ba417d181583ad0a.tar.gz |
llvm5: test, add -disable-O0-optnone to -O0
Otherwise optimizations done in klee won't have any effect. Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Diffstat (limited to 'test/Coverage')
-rw-r--r-- | test/Coverage/ReadArgs.c | 2 | ||||
-rw-r--r-- | test/Coverage/ReplayOutDir.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Coverage/ReadArgs.c b/test/Coverage/ReadArgs.c index 8eae53a1..531cc0a1 100644 --- a/test/Coverage/ReadArgs.c +++ b/test/Coverage/ReadArgs.c @@ -1,4 +1,4 @@ -// RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t1.bc +// RUN: %llvmgcc %s -emit-llvm %O0opt -c -o %t1.bc // RUN: rm -rf %t.klee-out // RUN: echo " --output-dir=%t.klee-out " > %t1.args // RUN: %klee @%t1.args %t1.bc diff --git a/test/Coverage/ReplayOutDir.c b/test/Coverage/ReplayOutDir.c index d9bffea0..fa06a269 100644 --- a/test/Coverage/ReplayOutDir.c +++ b/test/Coverage/ReplayOutDir.c @@ -1,4 +1,4 @@ -// RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t1.bc +// RUN: %llvmgcc %s -emit-llvm %O0opt -c -o %t1.bc // RUN: rm -rf %t1.out %t1.replay // RUN: %klee --output-dir=%t1.out %t1.bc // RUN: %klee --output-dir=%t1.replay --replay-ktest-dir=%t1.out %t1.bc |