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/Runtime/POSIX/SELinux/SELinux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Runtime/POSIX/SELinux/SELinux.c') diff --git a/test/Runtime/POSIX/SELinux/SELinux.c b/test/Runtime/POSIX/SELinux/SELinux.c index 21bebc4d..d3a73e72 100644 --- a/test/Runtime/POSIX/SELinux/SELinux.c +++ b/test/Runtime/POSIX/SELinux/SELinux.c @@ -1,5 +1,5 @@ /* Very basic test, as right now SELinux support is extremely basic */ -// 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: %klee --output-dir=%t.klee-out --posix-runtime --exit-on-error %t1.bc --sym-arg 2 > %t.log // XFAIL: no-selinux -- cgit 1.4.1