From 4d12b8c6f4fdbd82585340d4f682f7c8d82f1ae1 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Sun, 11 Dec 2011 21:29:52 +0000 Subject: This is a workaround for the infinite loop reported at http://keeda.stanford.edu/pipermail/klee-dev/2011-August/000723.html KLEE needs to use --fno-builtin when compiling its version of memset. However, this patch also adds the workaround suggested by Paul in the thread above, since support for --fno-builtin was added to llvm-gcc only after LLVM 2.9 was released. More details about this issue can be found here: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20110411/119376.html http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20110711/124131.html Thanks to Paul and arrowdodger for their explanations and patches. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@146350 91177308-0d34-0410-b5e6-96231b3b80d8 --- runtime/Intrinsic/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/Intrinsic/Makefile') diff --git a/runtime/Intrinsic/Makefile b/runtime/Intrinsic/Makefile index 721b9772..849bfeee 100644 --- a/runtime/Intrinsic/Makefile +++ b/runtime/Intrinsic/Makefile @@ -17,4 +17,6 @@ BYTECODE_LIBRARY=1 DEBUG_RUNTIME=1 NO_PEDANTIC=1 +C.Flags += -fno-builtin + include $(LEVEL)/Makefile.common -- cgit 1.4.1