chigraph  master
Systems programming language written for beginners in LLVM
CCompiler.cpp File Reference
#include "chi/CCompiler.hpp"
#include "chi/BitcodeParser.hpp"
#include "chi/LLVMVersion.hpp"
#include "chi/Support/LibCLocator.hpp"
#include "chi/Support/Result.hpp"
#include "chi/Support/Subprocess.hpp"
#include <llvm/IR/Module.h>
#include <llvm/Support/MemoryBuffer.h>
+ Include dependency graph for CCompiler.cpp:

Go to the source code of this file.

Namespaces

 chi
 The namespace where chigraph lives.
 

Functions

Result chi::compileCToLLVM (const boost::filesystem::path &ctollvmPath, llvm::LLVMContext &llvmContext, std::vector< std::string > arguments, boost::string_view inputCCode, std::unique_ptr< llvm::Module > *toFill)
 Use chi-ctollvm to compile C source code to a llvm module It also uses stdCIncludePaths to find basic include paths. More...