diff options
author | Martin Nowack <m.nowack@imperial.ac.uk> | 2023-10-30 14:48:58 +0000 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2024-02-08 13:17:19 +0000 |
commit | 670ea6b70d2ee0a998f05624cbef041a489450b3 (patch) | |
tree | b33ce5e1591a5817190bb70b9e0fe8db04ab1cc0 /test/Concrete | |
parent | 657f9618023923f08adac11eee0a9566b808f805 (diff) | |
download | klee-670ea6b70d2ee0a998f05624cbef041a489450b3.tar.gz |
Fix test cases to support opaque pointers
Diffstat (limited to 'test/Concrete')
-rw-r--r-- | test/Concrete/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Concrete/CMakeLists.txt b/test/Concrete/CMakeLists.txt index e7cf2416..a073482c 100644 --- a/test/Concrete/CMakeLists.txt +++ b/test/Concrete/CMakeLists.txt @@ -8,4 +8,8 @@ #===------------------------------------------------------------------------===# set(OZERO_OPT "-O0 -Xclang -disable-O0-optnone") +if ("${LLVM_VERSION_MAJOR}" EQUAL 15) + set(LLVM_AS_FLAGS "-opaque-pointers") + set(LLVM_LINK_FLAGS "-opaque-pointers") +endif () configure_file(Makefile.cmake.test.in Makefile.cmake.test @ONLY) |