Commit 5ca2c9f4 authored by Anirudh Kaushik's avatar Anirudh Kaushik
Browse files

resolved undefined references

parent aa02c969
......@@ -4,8 +4,6 @@
using namespace scpar;
//using namespace clang::tooling;
#include "TimeAnalysis.h"
int main(int argc, const char **argv)
{
......
......@@ -13,14 +13,12 @@ add_library (libsystemc-clang
FindNotify.cpp
FindSignals.cpp
FindSimTime.cpp
FindConstructor.cpp
FindGPUMacro.cpp
FindConstructor.cpp
SystemCClang.cpp
FindNetlist.cpp
FindArgument.cpp
Automata.cpp
SuspensionAutomata.cpp
GlobalSuspensionAutomata.cpp
SuspensionAutomata.cpp
####################################
#From here the files are for the reflection database
####################################
......
......@@ -163,7 +163,7 @@ void FindNetlist::dump()
pit != pite; pit++)
{
llvm::errs() << "\n Port : " << pit->
first << " bound to signal " << pit->second;
first << " ------> " << pit->second;
}
}
else
......
......@@ -57,8 +57,7 @@ bool SystemCConsumer::fire()
FindEntryFunctions findEntries(mit->second, _os);
FindEntryFunctions::entryFunctionVectorType * entryFunctions =
findEntries.getEntryFunctions();
findEntries.dump();
md->addProcess(entryFunctions);
for (unsigned int i = 0; i < entryFunctions->size(); i++)
......@@ -81,9 +80,6 @@ bool SystemCConsumer::fire()
FindNotify findNotify(ef->_entryMethodDecl, _os);
ef->addNotifys(findNotify);
//FindGPUMacro findGPUMacro(ef->_entryMethodDecl, _os);
//findGPUMacro.dump();
SuspensionAutomata suspensionAutomata(findWaits.getWaitCalls(), ef->getEntryMethod(), &_context, llvm::errs());
suspensionAutomata.initialize();
suspensionAutomata.genSusCFG();
......@@ -109,6 +105,8 @@ bool SystemCConsumer::fire()
FindNetlist findNetlist(scmain.getSCMainFunctionDecl());
_systemcModel->addNetlist(findNetlist);
_os <<"\n SystemC model dump\n";
_systemcModel->dump(_os);
return true;
}
......
......@@ -49,7 +49,6 @@ using namespace clang::tooling;
#include "FindArgument.h"
#include "Utility.h"
#include "SuspensionAutomata.h"
#include "GlobalSuspensionAutomata.h"
using namespace clang;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment