view ir/irmodule.h @ 1564:68dea5bae9e9

Added check and error in case two same named modules - with different packages and compiled at once - would overwrite each other's output files.
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Sun, 02 Aug 2009 18:37:07 +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