Displaying 1 result from an estimated 1 matches for "compilebitcodeaction".
2013 Feb 21
0
[LLVMdev] Missing common linkage
Hi,
I'm writing to both lists as I'm not sure what the cause of this
issue is. I use code like this to compile C source into LLVM IR
as suggested on the Clang mailing list previously.
class CompileBitcodeAction : public clang::EmitLLVMOnlyAction
{
protected:
Module*& dstModule;
public:
inline CompileBitcodeAction(Module*& dstModule, LLVMContext* const context = NULL)
: clang::EmitLLVMOnlyAction(context), dstModule(dstModule)
{}
protected:
virtual inline void EndSourceFile...