diff options
author | Daniel Dunbar <daniel@zuster.org> | 2014-09-14 15:51:43 -0700 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2014-09-14 16:05:47 -0700 |
commit | 340b5ec84521c0b9d930d06e38df78d595f85c38 (patch) | |
tree | 8f9c6b04c48692c75525709e5252fecda2b4a23d /lib/Module | |
parent | 1d3c741c7f074df863e94e9dfb70630eaadac6d2 (diff) | |
download | klee-340b5ec84521c0b9d930d06e38df78d595f85c38.tar.gz |
[LLVM3.5] Don't try to use DEBUG macro without DEBUG_TYPE.
Diffstat (limited to 'lib/Module')
-rw-r--r-- | lib/Module/KModule.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Module/KModule.cpp b/lib/Module/KModule.cpp index 57e0c4fe..f8cc2b60 100644 --- a/lib/Module/KModule.cpp +++ b/lib/Module/KModule.cpp @@ -10,6 +10,7 @@ // FIXME: This does not belong here. #include "../Core/Common.h" +#define DEBUG_TYPE "KModule" #include "klee/Internal/Module/KModule.h" #include "Passes.h" @@ -273,7 +274,7 @@ static void inlineChecks(Module *module, const char * functionName) { void KModule::addInternalFunction(const char* functionName){ Function* internalFunction = module->getFunction(functionName); if (!internalFunction) { - KLEE_DEBUG_WITH_TYPE("KModule", klee_warning( + KLEE_DEBUG(klee_warning( "Failed to add internal function %s. Not found.", functionName)); return ; } |