Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with setting up difuze step 1.2 build.sh crashes #18

Open
docfate111 opened this issue Jan 7, 2021 · 0 comments
Open

Issues with setting up difuze step 1.2 build.sh crashes #18

docfate111 opened this issue Jan 7, 2021 · 0 comments

Comments

@docfate111
Copy link

On Ubuntu following all the steps until ./build.sh
Some errors with the C++ code?

/home/t/tools/difuze/InterfaceHandlers/MainAnalysisPasses/RangeAnalysis/src/vSSA.cpp:123:25: error: variable or field ‘insertSigmas’ declared void
  123 | void vSSA::insertSigmas(TerminatorInst *TI, Value *V)
      |                         ^~~~~~~~~~~~~~
/home/t/tools/difuze/InterfaceHandlers/MainAnalysisPasses/RangeAnalysis/src/vSSA.cpp:123:25: error: ‘TerminatorInst’ was not declared in this scope
/home/t/tools/difuze/InterfaceHandlers/MainAnalysisPasses/RangeAnalysis/src/vSSA.cpp:123:41: error: ‘TI’ was not declared in this scope
  123 | void vSSA::insertSigmas(TerminatorInst *TI, Value *V)
      |                                         ^~
/home/t/tools/difuze/InterfaceHandlers/MainAnalysisPasses/RangeAnalysis/src/vSSA.cpp:123:51: error: expected primary-expression before ‘*’ token
  123 | void vSSA::insertSigmas(TerminatorInst *TI, Value *V)
      |                                                   ^
/home/t/tools/difuze/InterfaceHandlers/MainAnalysisPasses/RangeAnalysis/src/vSSA.cpp:123:52: error: ‘V’ was not declared in this scope
  123 | void vSSA::insertSigmas(TerminatorInst *TI, Value *V)
      |                                                    ^
In file included from /usr/lib/llvm-10/include/llvm/Pass.h:315,
                 from /home/t/tools/difuze/InterfaceHandlers/MainAnalysisPasses/RangeAnalysis/include/vSSA.h:11,
                 from /home/t/tools/difuze/InterfaceHandlers/MainAnalysisPasses/RangeAnalysis/src/vSSA.cpp:14:
/usr/lib/llvm-10/include/llvm/PassAnalysisSupport.h: In instantiation of ‘llvm::AnalysisUsage& llvm::AnalysisUsage::addRequired() [with PassClass = llvm::DominanceFrontier]’:
/home/t/tools/difuze/InterfaceHandlers/MainAnalysisPasses/RangeAnalysis/src/vSSA.cpp:25:36:   required from here
/usr/lib/llvm-10/include/llvm/PassAnalysisSupport.h:66:39: error: ‘ID’ is not a member of ‘llvm::DominanceFrontier’
   66 |     return addRequiredID(PassClass::ID);
      |                                       ^
/usr/lib/llvm-10/include/llvm/PassAnalysisSupport.h: In instantiation of ‘AnalysisType& llvm::Pass::getAnalysis() const [with AnalysisType = llvm::DominanceFrontier]’:
/home/t/tools/difuze/InterfaceHandlers/MainAnalysisPasses/RangeAnalysis/src/vSSA.cpp:39:40:   required from here
/usr/lib/llvm-10/include/llvm/PassAnalysisSupport.h:222:38: error: ‘ID’ is not a member of ‘llvm::DominanceFrontier’
  222 |   return getAnalysisID<AnalysisType>(&AnalysisType::ID);
      |                                      ^~~~~~~~~~~~~~~~~
make[2]: *** [Utils/CMakeFiles/Utils.dir/build.make:63: Utils/CMakeFiles/Utils.dir/src/CFGUtils.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:212: Utils/CMakeFiles/Utils.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [RangeAnalysis/CMakeFiles/RangeAnalysis.dir/build.make:76: RangeAnalysis/CMakeFiles/RangeAnalysis.dir/src/vSSA.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:239: RangeAnalysis/CMakeFiles/RangeAnalysis.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant