search for: foo_provider

Displaying 1 result from an estimated 1 matches for "foo_provider".

2009 Mar 09
0
[LLVMdev] Cross-Module Function Calls
...t;llvm/Support/MemoryBuffer.h> #include <llvm/Bitcode/ReaderWriter.h> #include <llvm/ModuleProvider.h> #include <llvm/ExecutionEngine/ExecutionEngine.h> int main( int argc, char** argv ) { std::string error; llvm::MemoryBuffer *foo_buffer, *bar_buffer; llvm::ModuleProvider *foo_provider, *bar_provider; foo_buffer = llvm::MemoryBuffer::getFile( "foo.bc", &error ); foo_provider = llvm::getBitcodeModuleProvider(foo_buffer,&err); bar_buffer = llvm::MemoryBuffer::getFile( "bar.bc", &error ); bar_provider = llvm::getBitcodeModuleProvider(bar_buffer,&a...