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

Fix the arguments to WriteBitcodeToFile function #134

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 30, 2019

  1. Fix the arguments to WriteBitcodeToFile function

    WriteBitcodeToFile expectes reference to the Module object: https://llvm.org/doxygen/BitcodeWriter_8cpp_source.html#l04360
    
    Error details:
    razzer/tools/SVF/lib/Util/SVFModule.cpp:371:36: error: cannot convert 'llvm::Module' to 'const llvm::Module*' for argument '1' to 'void llvm::WriteBitcodeToFile(const llvm::Module*, llvm::raw_ostream&, bool, const llvm::ModuleSummaryIndex*, bool, llvm::ModuleHash*)'
             WriteBitcodeToFile(*mod, OS);
    0xBUGSPRAY authored Jun 30, 2019
    Configuration menu
    Copy the full SHA
    fb5a305 View commit details
    Browse the repository at this point in the history