From 1a1b60e82f351baf5b72bf5d7cf740e34378f0bc Mon Sep 17 00:00:00 2001 From: Gleb Popov <6yearold@gmail.com> Date: Mon, 28 Feb 2022 14:39:48 +0300 Subject: Make Uclibc support a runtime option, not a compile-time one. --- tools/klee/main.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tools') diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp index 5984c2f9..c66b707d 100644 --- a/tools/klee/main.cpp +++ b/tools/klee/main.cpp @@ -1026,13 +1026,6 @@ static void halt_via_gdb(int pid) { perror("system"); } -#ifndef SUPPORT_KLEE_UCLIBC -static void -linkWithUclibc(StringRef libDir, std::string opt_suffix, - std::vector> &modules) { - klee_error("invalid libc, no uclibc support!\n"); -} -#else static void replaceOrRenameFunction(llvm::Module *module, const char *old_name, const char *new_name) { @@ -1149,7 +1142,6 @@ linkWithUclibc(StringRef libDir, std::string opt_suffix, klee_error("error loading the fortify library '%s': %s", FortifyPath.c_str(), errorMsg.c_str()); } -#endif int main(int argc, char **argv, char **envp) { atexit(llvm_shutdown); // Call llvm_shutdown() on exit. -- cgit 1.4.1