view gen/linker.h @ 263:2be09ee06bc7 trunk

[svn r284] Fixed some problems with cases, code is not as pretty, but it doesn't crash llvm!
author lindquist
date Sat, 14 Jun 2008 06:13:35 +0200
parents a95056b3c996
children 21f85bac0b1a
line wrap: on
line source

#ifndef LLVMDC_GEN_LINKER_H
#define LLVMDC_GEN_LINKER_H

/**
 * Links the modules given in MV in to dst.
 * @param dst Destination module.
 * @param MV Vector of modules to link in to destination.
 */
void linkModules(llvm::Module* dst, const std::vector<llvm::Module*>& MV);

#endif // LLVMDC_GEN_LINKER_H