Displaying 1 result from an estimated 1 matches for "makemainmodule".
2011 Aug 31
2
[LLVMdev] How to place call(s) to functions found in other llvm modules ???
...lue not in slotcalculator!"'
failed.
Aborted
----------------------------------------------------------------------
And here is the source code of my example.
----------------------------------------------------------------------
Module* makeLLVMModule(LLVMContext& Context);
Module* makeMainModule(LLVMContext& Context, Module &inMod);
static tool_output_file *GetOutputStream(const char *FileName)
{
std::string error;
tool_output_file *FDOut = new tool_output_file(FileName, error,
raw_fd_ostream::F_Binary);
if (!error.empty()) {
errs() << error << '\n&...