diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2017-02-22 15:57:55 +0100 |
---|---|---|
committer | MartinNowack <martin.nowack@gmail.com> | 2018-09-14 09:59:29 +0100 |
commit | c27f225e79b82d3de4f70578cb80d0603fbff6f1 (patch) | |
tree | 2876832b7148c93bb6b835f8265382a9f56061ae /tools/kleaver | |
parent | c97526d0fff13e098b284369e2fc40c256b268d5 (diff) | |
download | klee-c27f225e79b82d3de4f70578cb80d0603fbff6f1.tar.gz |
llvm: make KLEE compile against LLVM 3.9
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Diffstat (limited to 'tools/kleaver')
-rw-r--r-- | tools/kleaver/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/kleaver/main.cpp b/tools/kleaver/main.cpp index b8b32e31..800cece9 100644 --- a/tools/kleaver/main.cpp +++ b/tools/kleaver/main.cpp @@ -400,7 +400,11 @@ static bool printInputAsSMTLIBv2(const char *Filename, int main(int argc, char **argv) { bool success = true; +#if LLVM_VERSION_CODE >= LLVM_VERSION(3, 9) + llvm::sys::PrintStackTraceOnErrorSignal(argv[0]); +#else llvm::sys::PrintStackTraceOnErrorSignal(); +#endif llvm::cl::SetVersionPrinter(klee::printVersion); llvm::cl::ParseCommandLineOptions(argc, argv); |