about summary refs log tree commit diff homepage
path: root/test/lit.site.cfg.in
diff options
context:
space:
mode:
authorJulian Büning <julian.buening@rwth-aachen.de>2018-11-04 19:22:17 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2018-11-06 15:48:43 -0500
commit4bbcda1a6467863ff6585b09f2b289198a8637dc (patch)
tree332ef45da950f8435a06e83c23ebb2edc33c81b3 /test/lit.site.cfg.in
parent548e51daca5d53127b1ba5988048a23b8cd6c17b (diff)
downloadklee-4bbcda1a6467863ff6585b09f2b289198a8637dc.tar.gz
fix: actually set -O0 in test/concrete/CMakeLists.txt
`-O0` has to be used in conjunction with, not instead of
`-Xclang -disable-O0-optnone`
Diffstat (limited to 'test/lit.site.cfg.in')
-rw-r--r--test/lit.site.cfg.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in
index 6bb0e297..5f3c777a 100644
--- a/test/lit.site.cfg.in
+++ b/test/lit.site.cfg.in
@@ -21,6 +21,8 @@ config.llvmgxx = "@LLVMCXX@"
 config.cc = "@NATIVE_CC@"
 config.cxx = "@NATIVE_CXX@"
 
+# NOTE: any changes to compiler flags also have to be applied to
+#       test/Concrete/CMakeLists.txt
 config.O0opt = "-O0"
 if @LLVM_VERSION_MAJOR@ >= 5:
   config.O0opt += " -Xclang -disable-O0-optnone"