view ir/irmodule.h @ 1471:230765fc82f4

Emit nicer error messages when the user didn't set LLVM_REV and autodetection didn't find a suitable revision or when the LLVM revision in use is too old.
author Frits van Bommel <fvbommel wxs.nl>
date Wed, 03 Jun 2009 16:09:48 +0200
parents 1714836f2c0b
children
line wrap: on
line source

#ifndef LDC_IR_IRMODULE_H
#define LDC_IR_IRMODULE_H

#include "ir/ir.h"

struct Module;

struct IrModule : IrBase
{
    IrModule(Module* module, const char* srcfilename);
    virtual ~IrModule();

    Module* M;

    LLGlobalVariable* fileName;
    llvm::DICompileUnit diCompileUnit;
};

#endif