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/SourceMapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Feature/SourceMapping.c') diff --git a/test/Feature/SourceMapping.c b/test/Feature/SourceMapping.c index bc13652d..aa849c5f 100644 --- a/test/Feature/SourceMapping.c +++ b/test/Feature/SourceMapping.c @@ -1,7 +1,7 @@ // Check that we properly associate instruction level statistics with source // file and line. // -// RUN: %llvmgcc %s -emit-llvm -g -O0 -c -o %t1.bc +// RUN: %llvmgcc %s -emit-llvm -g %O0opt -c -o %t1.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --exit-on-error %t1.bc // RUN: FileCheck < %t.klee-out/run.istats %s -- cgit 1.4.1