From 0a7963e0dd119285b9730473ba417d181583ad0a Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Sun, 27 May 2018 10:26:43 +0200 Subject: llvm5: test, add -disable-O0-optnone to -O0 Otherwise optimizations done in klee won't have any effect. Signed-off-by: Jiri Slaby --- test/Feature/consecutive_divide_by_zero.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Feature/consecutive_divide_by_zero.c') diff --git a/test/Feature/consecutive_divide_by_zero.c b/test/Feature/consecutive_divide_by_zero.c index ebe0dcb5..b44572aa 100644 --- a/test/Feature/consecutive_divide_by_zero.c +++ b/test/Feature/consecutive_divide_by_zero.c @@ -1,4 +1,4 @@ -// RUN: %llvmgcc -emit-llvm -c -g -O0 %s -o %t.bc +// RUN: %llvmgcc -emit-llvm -c -g %O0opt %s -o %t.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out -check-div-zero -emit-all-errors=0 %t.bc 2> %t.log // RUN: FileCheck --input-file=%t.log %s -- cgit 1.4.1